petitparser / dart-petitparser

Dynamic parser combinators in Dart.
https://pub.dartlang.org/packages/petitparser
MIT License
457 stars 48 forks source link

Use break instead of code duplication (part 2) #152

Closed f3ath closed 1 year ago

f3ath commented 1 year ago

Same motivation as https://github.com/petitparser/dart-petitparser/pull/151. Thanks for your great work.

codecov-commenter commented 1 year ago

Codecov Report

Merging #152 (a4bd732) into main (1cdb8a7) will decrease coverage by 0.01%. The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
- Coverage   99.09%   99.09%   -0.01%     
==========================================
  Files         104      104              
  Lines        2201     2200       -1     
==========================================
- Hits         2181     2180       -1     
  Misses         20       20              
Impacted Files Coverage Δ
lib/src/parser/repeater/separated.dart 100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

renggli commented 1 year ago

Thank you for your contributions!