summaryrefslogtreecommitdiff
path: root/tests/test-suite/inprogress
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-26 10:00:01 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-26 10:00:01 +0200
commitf2698d4c4d5dd02888a493e3b6919e657c02b49a (patch)
tree0f45df2c6082ddff32dd0fdd802f65d230341224 /tests/test-suite/inprogress
parent51ea4bdd2d2ac1166911b54ba5a1aa6aa8a573dd (diff)
downloadfengari-f2698d4c4d5dd02888a493e3b6919e657c02b49a.tar.gz
fengari-f2698d4c4d5dd02888a493e3b6919e657c02b49a.tar.bz2
fengari-f2698d4c4d5dd02888a493e3b6919e657c02b49a.zip
runJS switch instead of if elses
Diffstat (limited to 'tests/test-suite/inprogress')
-rw-r--r--tests/test-suite/inprogress/api.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-suite/inprogress/api.js b/tests/test-suite/inprogress/api.js
index 06a1648..72db2c2 100644
--- a/tests/test-suite/inprogress/api.js
+++ b/tests/test-suite/inprogress/api.js
@@ -88,6 +88,7 @@ test("[test-suite] api: absindex", function (t) {
test("[test-suite] api: testing alignment", function (t) {
let luaCode = `
+ -- Useless tests in fengari since we do the same thing in d2s than in string.pack
a = T.d2s(12458954321123.0)
assert(a == string.pack("d", 12458954321123.0))
assert(T.s2d(a) == 12458954321123.0)