diff options
Diffstat (limited to 'tests/test-suite')
-rw-r--r-- | tests/test-suite/inprogress/api.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-suite/inprogress/api.js b/tests/test-suite/inprogress/api.js index 914c28a..e6b1e91 100644 --- a/tests/test-suite/inprogress/api.js +++ b/tests/test-suite/inprogress/api.js @@ -11,6 +11,7 @@ const lualib = require('../../../src/lualib.js'); const ltests = require('../ltests.js'); // TODO: a lot of gc related tests are skipped +// TODO: io.read is used in several tests, uncomment them when it's implemented const prefix = ` local pack = table.pack @@ -1807,8 +1808,8 @@ test("[test-suite] api: testing multiple states", function (t) { a, b, c = T.doremote(L1, [[ string = require'string' a = require'_G'; assert(a == _G and require("_G") == a) - io = require'io'; assert(type(io.read) == "function") - assert(require("io") == io) + -- io = require'io'; assert(type(io.read) == "function") + -- assert(require("io") == io) a = require'table'; assert(type(a.insert) == "function") a = require'debug'; assert(type(a.getlocal) == "function") a = require'math'; assert(type(a.sin) == "function") |