winnow-rs / winnow

Making parsing a breeze
https://docs.rs/winnow
Other
572 stars 44 forks source link

fix(token): Be consistent on `take_until("")` #490

Closed epage closed 8 months ago

epage commented 8 months ago

We aren't consistent on empty buffers between simd and not.

Fixes #489

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 41.66667% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 41.82%. Comparing base (c3e3e4d) to head (9d50921).

Files Patch % Lines
src/stream/mod.rs 41.66% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #490 +/- ## ========================================== - Coverage 41.83% 41.82% -0.01% ========================================== Files 18 18 Lines 3043 3046 +3 ========================================== + Hits 1273 1274 +1 - Misses 1770 1772 +2 ```

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

coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 8083211839

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/stream/mod.rs 5 12 41.67%
<!-- Total: 5 12 41.67% -->
Totals Coverage Status
Change from base Build 8073857515: -0.009%
Covered Lines: 1274
Relevant Lines: 3046

💛 - Coveralls