-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: improved handling of complex yaml in YAMLNodeToJSON #316
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #316 +/- ##
==========================================
+ Coverage 99.62% 99.65% +0.02%
==========================================
Files 164 164
Lines 16586 16593 +7
==========================================
+ Hits 16524 16535 +11
+ Misses 57 53 -4
Partials 5 5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Bump those two lines of coverage, and it's good to go. |
@daveshanley I didn't cover those lines as I really don't know how to inject invalid data into this to cause those to be covered. If you have any ideas let me know and I will add tests |
@daveshanley essential asking for a pass on dealing with those bits of coverage, though if you really do want them covered I guess a way forward is to unit test the internal functions directly (currently I am only testing the public interface with the |
I spent about 20 minutes and I could get one line covered, but the other is impossible to test as it's a deep catch. Pass granted. |
Makes it possible to render yaml that uses anchors and complex map keys