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

pabigot / buffer-layout / 44 / 5
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: bigendian-note
DEFAULT BRANCH: master
Ran 21 Mar 2016 10:01AM UTC
Files 2
Run time 0s
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

21 Mar 2016 09:59AM UTC coverage: 99.887% (-0.1%) from 100.0%
44.5

push

travis-ci

pabigot
Layout: improve diagnostics for type errors in encode calls

If the module is doing the type checking it can at least tell the user
in the message what property has an invalid value.  This could be
retrofitted in type errors caught by the underlying Buffer operations.

In support of this add a helper to the unit tests that verifies the
throw exception not only matches the expected type but describes the
expected failure.  In the previous commit a TypeError was generated not
because the property value was incompatible but because no buffer was
provided for the encode destination.

881 of 882 relevant lines covered (99.89%)

18.65 hits per line

Source Files on job 44.5
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 44
  • Travis Job 44.5
  • dd14be0c on github
  • Prev Job for on next (#43.5)
  • Next Job for on next (#45.5)
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