summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-suite/code.js (renamed from tests/test-suite/inprogress/code.js)10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-suite/inprogress/code.js b/tests/test-suite/code.js
index e7ff501..4438cd2 100644
--- a/tests/test-suite/inprogress/code.js
+++ b/tests/test-suite/code.js
@@ -4,11 +4,11 @@ const test = require('tape');
global.WEB = false;
-const lua = require('../../../src/lua.js');
-const lauxlib = require('../../../src/lauxlib.js');
-const lualib = require('../../../src/lualib.js');
+const lua = require('../../src/lua.js');
+const lauxlib = require('../../src/lauxlib.js');
+const lualib = require('../../src/lualib.js');
-const ltests = require('../ltests.js');
+const ltests = require('./ltests.js');
test("[test-suite] code: testing reuse in constant table", function (t) {
@@ -476,7 +476,7 @@ test("[test-suite] code: x == nil , x ~= nil", function (t) {
function () if (a==9) then a=1 end; if a~=9 then a=1 end end)
check(function () if a==nil then a='a' end end,
- 'GETTABUP', 'EQ', 'JMP', 'SETTABUP', 'RETURN')
+ 'GETTABUP', 'EQ', 'JMP', 'SETTABUP', 'RETURN')
checkequal(function () local a; if not (a or b) then b=a end end,
function () local a; if (not a and not b) then b=a end end)