Skip to content

Commit

Permalink
Fix "incomplete" test fixture to be valid gzip of incomplete data
Browse files Browse the repository at this point in the history
The zlib module in Node 5 now throws if it sees an unexpected end of
file, so the current test that the tilelive decode correctly throws
on incomplete JSON currently fails because the unzip part of the
pipeline is throwing instead.
  • Loading branch information
tomhughes committed Mar 31, 2016
1 parent 5366170 commit cbc1871
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_js:
- "0.10"
- "0.12"
- "4"
- "5"

script:
- npm test
Expand Down
Binary file modified test/fixtures/cereal-incomplete.gz
Binary file not shown.

0 comments on commit cbc1871

Please sign in to comment.