diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-suite/inprogress/tpack.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test-suite/inprogress/tpack.js b/tests/test-suite/inprogress/tpack.js index 64f0cc9..b5ae5a9 100644 --- a/tests/test-suite/inprogress/tpack.js +++ b/tests/test-suite/inprogress/tpack.js @@ -80,12 +80,11 @@ test("[test-suite] tpack: minimum behavior for integer formats", function (t) { assert(unpack("h", pack("h", 0x7fff)) == 0x7fff) assert(unpack("h", pack("h", -0x8000)) == -0x8000) - -- TODO: JS mask will force a value between 0 and 255 - -- assert(unpack("L", pack("L", 0xffffffff)) == 0xffffffff) + assert(unpack("L", pack("L", 0xffffffff)) == 0xffffffff) assert(unpack("l", pack("l", 0x7fffffff)) == 0x7fffffff) assert(unpack("l", pack("l", -0x80000000)) == -0x80000000) `, L; - + t.plan(2); t.doesNotThrow(function () { |