denoland / deno_std

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

fix(yaml): fix `!!pairs` parsing #5192

Closed kt3k closed 3 days ago

kt3k commented 4 days ago

This PR fixes the handling of empty pairs, and also adds the test cases for parsing various !!pairs patterns.

codecov[bot] commented 4 days ago

Codecov Report

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

Project coverage is 94.44%. Comparing base (965833b) to head (79a9616).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5192 +/- ## ========================================== + Coverage 94.38% 94.44% +0.05% ========================================== Files 467 467 Lines 37819 37820 +1 Branches 5485 5491 +6 ========================================== + Hits 35696 35719 +23 + Misses 2085 2062 -23 - Partials 38 39 +1 ```

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