diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | tests/test-suite/code.js (renamed from tests/test-suite/inprogress/code.js) | 10 |
2 files changed, 6 insertions, 6 deletions
@@ -57,6 +57,7 @@ - [x] `bitwise.lua` (16/16) - [x] `calls.lua` (32/32) - [x] `closure.lua` (16/16) + - [x] `code.lua` (28/28) - [x] `constructs.lua` (`_soft`) (10/10) - [x] `coroutine.lua` (70/70) - [x] `errors.lua` (64/64) @@ -74,7 +75,6 @@ - [ ] `utf8.lua` (14/20) - [ ] `attrib.lua` - [ ] `big.lua` - - [ ] `code.lua` - [ ] `db.lua` - [ ] `verybig.lua` - [ ] DOM API binding: [https://github.com/fengari-lua/fengari-interop](https://github.com/fengari-lua/fengari-interop) 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) |