• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Geal / nom / 2467
81%

Build:
DEFAULT BRANCH: master
Ran 11 Oct 2020 10:34AM UTC
Jobs 1
Files 42
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2467

push

travis-ci

Geal
Correct `Incomplete` errors from length_data/value

If they didn't have enough input data, these two functions were
returning a `Needed` value reflecting the entire expected length, not
the length remaining after the available input.

As a result, a caller that blocks until the specified number of bytes
are available could get stuck waiting forever.

I've fixed the affected tests at the same time as fixing this bug. For
most of them I made sure the tests would detect this error. But for
`tests/overflow.rs`, I deleted the partial input after the length
instead (meaning the tests pass either way), because I don't think it
matters for the purposes of checking if the parsers have an unsigned
overflow.

4031 of 4835 relevant lines covered (83.37%)

2.87 hits per line

Jobs
ID Job ID Ran Files Coverage
13 2467.13 (FEATURES='--features "std lexical regexp"') 11 Oct 2020 10:34AM UTC 0
83.37
Travis Job 2467.13
Source Files on build 2467
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2467
  • 6c643a39 on github
  • Prev Build on master (#2465)
  • Next Build on master (#2468)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc