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

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

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

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%)

188.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44.1 21 Mar 2016 10:02AM UTC 0
99.89
Travis Job 44.1
2 44.2 21 Mar 2016 10:01AM UTC 0
99.89
Travis Job 44.2
3 44.3 21 Mar 2016 10:02AM UTC 0
99.89
Travis Job 44.3
4 44.4 21 Mar 2016 10:02AM UTC 0
99.89
Travis Job 44.4
5 44.5 21 Mar 2016 10:01AM UTC 0
99.89
Travis Job 44.5
7 44.7 21 Mar 2016 10:04AM UTC 0
99.89
Travis Job 44.7
8 44.8 21 Mar 2016 10:03AM UTC 0
99.89
Travis Job 44.8
9 44.9 21 Mar 2016 10:04AM UTC 0
99.89
Travis Job 44.9
10 44.10 21 Mar 2016 10:03AM UTC 0
99.89
Travis Job 44.10
12 44.12 21 Mar 2016 10:04AM UTC 0
99.89
Travis Job 44.12
Source Files on build 44
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #44
  • dd14be0c on github
  • Prev Build on next (#43)
  • Next Build on next (#45)
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