aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-28 14:17:51 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-28 14:17:51 +0200
commitf2b7aff6678440188f199d8fe076592e6db27b1d (patch)
treea87483fdd17d81601cbb3eae3a13f997372c9c5f /tests
parent4e2f90985cbffa5b3e6e7840543d684a6dd18aed (diff)
downloadfengari-f2b7aff6678440188f199d8fe076592e6db27b1d.tar.gz
fengari-f2b7aff6678440188f199d8fe076592e6db27b1d.tar.bz2
fengari-f2b7aff6678440188f199d8fe076592e6db27b1d.zip
Comment out io.read in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/test-suite/inprogress/api.js5
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")