Исправить CanInjectContext_As_Symbols после добавления WriteJSONDate - #1720
Conversation
После добавления WriteJSONDate в GlobalJsonFunctions (PR #1711) в области символов стало 4 метода вместо 3. Обновлён счётчик и добавлена проверка наличия ЗаписатьДатуJSON. Co-authored-by: Andrei Ovsiankin <EvilBeaver@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe symbol-injection test now expects four injected methods and verifies that ChangesSymbol injection validation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized test-only change updates the expected method count and verifies the newly added JSON date method; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage
Проблема
Тест
CanInjectContext_As_Symbolsпадал с ошибкой:После merge PR #1711 в
GlobalJsonFunctionsпоявился четвёртый метод с атрибутом[ContextMethod]—ЗаписатьДатуJSON/WriteJSONDate, но ожидаемое количество методов в тесте не обновили.Решение
HaveCount(3)наHaveCount(4)ЗаписатьДатуJSONв области символовSummary by CodeRabbit