summaryrefslogtreecommitdiff
path: root/tests/test-suite/inprogress
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-suite/inprogress')
-rw-r--r--tests/test-suite/inprogress/tpack.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/test-suite/inprogress/tpack.js b/tests/test-suite/inprogress/tpack.js
index e624cce..f94ca40 100644
--- a/tests/test-suite/inprogress/tpack.js
+++ b/tests/test-suite/inprogress/tpack.js
@@ -487,11 +487,10 @@ test("[test-suite] tpack: testing pack/unpack of strings", function (t) {
checkerror("contains zeros", pack, "z", "alo\\0");
- -- TODO: << overflow in JS vs C
- -- for i = 2, NB do
- -- local s1 = pack("s" .. i, s)
- -- assert(unpack("s" .. i, s1) == s and #s1 == #s + i)
- -- end
+ for i = 2, NB do
+ local s1 = pack("s" .. i, s)
+ assert(unpack("s" .. i, s1) == s and #s1 == #s + i)
+ end
end
do