denoland / deno_std

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

fix(yaml): fix merge (<<) type handling in `parse()` #5185

Closed kt3k closed 4 days ago

kt3k commented 4 days ago

merge type (<<) handling seems broken (ref #4457). This PR fixes it and add test cases to check it.

codecov[bot] commented 4 days ago

Codecov Report

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

Project coverage is 93.88%. Comparing base (de998e7) to head (1044b8c). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5185 +/- ## ========================================== + Coverage 93.77% 93.88% +0.11% ========================================== Files 469 469 Lines 37917 37917 Branches 5449 5457 +8 ========================================== + Hits 35557 35600 +43 + Misses 2317 2275 -42 + Partials 43 42 -1 ```

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