Permalink
Browse files

Other: Restructured a few failing tests

  • Loading branch information...
dcodeIO committed Mar 2, 2017
1 parent 367d555 commit 83142e420eb1167b2162063a092ae8d89c9dd4b2
Showing with 2 additions and 4 deletions.
  1. +0 −2 tests/api_writer-reader.js
  2. +0 −1 tests/lib_utf8.js
  3. +1 −1 tests/node/lib_fetch.js
  4. +1 −0 tests/node/lib_utf8.js
@@ -52,8 +52,6 @@ tape.test("writer & reader", function(test) {
test.ok(expect("fixed32", 4294967295, [ 255, 255, 255, 255 ]), "should write 4294967295 as fixed 32 bits");
test.ok(expect("fixed32", 4294967294, [ 254, 255, 255, 255 ]), "should write 4294967294 as fixed 32 bits");
test.ok(expect("fixed32", 4294967296, [ 0, 0, 0, 0 ]), "should write 4294967296 as fixed 32 bits (wrap around to 0)");
test.ok(expect("fixed32", 4294967297, [ 1, 0, 0, 0 ]), "should write 4294967297 as fixed 32 bits (wrap around to 1)");
test.ok(expect("sfixed32", -1, [ 255, 255, 255, 255 ]), "should write -1 as fixed 32 bits (signed)");
test.ok(expect("sfixed32", -2, [ 254, 255, 255, 255 ]), "should write -2 as fixed 32 bits (signed)");

This file was deleted.

Oops, something went wrong.
@@ -1 +1 @@
require("../../lib/fetch/tests");
require("../../lib/fetch/tests"); // requires fs
@@ -0,0 +1 @@
require("../../lib/utf8/tests"); // requires fs to load the test file

0 comments on commit 83142e4

Please sign in to comment.