denoland / deno_std

The Deno Standard Library
https://jsr.io/@std
MIT License
2.83k stars 581 forks source link

test(yaml): add misc `parse()` test cases #5188

Closed kt3k closed 4 days ago

kt3k commented 4 days ago

This PR adds misc test cases to exercises the edge cases of parse. The line coverage of readDocument becomes 100% with this change.

part of #3713

codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.15%. Comparing base (fa48bea) to head (d7e309e). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5188 +/- ## ========================================== + Coverage 94.04% 94.15% +0.10% ========================================== Files 468 468 Lines 37873 37873 Branches 5461 5469 +8 ========================================== + Hits 35617 35658 +41 + Misses 2216 2176 -40 + Partials 40 39 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.