Skip to content

Commit 83142e4

Browse files
committed
Other: Restructured a few failing tests
1 parent 367d555 commit 83142e4

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

tests/api_writer-reader.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ tape.test("writer & reader", function(test) {
5252

5353
test.ok(expect("fixed32", 4294967295, [ 255, 255, 255, 255 ]), "should write 4294967295 as fixed 32 bits");
5454
test.ok(expect("fixed32", 4294967294, [ 254, 255, 255, 255 ]), "should write 4294967294 as fixed 32 bits");
55-
test.ok(expect("fixed32", 4294967296, [ 0, 0, 0, 0 ]), "should write 4294967296 as fixed 32 bits (wrap around to 0)");
56-
test.ok(expect("fixed32", 4294967297, [ 1, 0, 0, 0 ]), "should write 4294967297 as fixed 32 bits (wrap around to 1)");
5755
test.ok(expect("sfixed32", -1, [ 255, 255, 255, 255 ]), "should write -1 as fixed 32 bits (signed)");
5856
test.ok(expect("sfixed32", -2, [ 254, 255, 255, 255 ]), "should write -2 as fixed 32 bits (signed)");
5957

tests/lib_utf8.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/node/lib_fetch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
require("../../lib/fetch/tests");
1+
require("../../lib/fetch/tests"); // requires fs

tests/node/lib_utf8.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require("../../lib/utf8/tests"); // requires fs to load the test file

0 commit comments

Comments
 (0)