From 705574bf31fc57cc3513e441fb83cae09b2d0bae Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Fri, 19 May 2017 15:33:06 +0200 Subject: Updated README to reflect progress --- tests/test-suite/closure.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-suite/closure.js b/tests/test-suite/closure.js index 99bdbe5..3f63f17 100644 --- a/tests/test-suite/closure.js +++ b/tests/test-suite/closure.js @@ -8,8 +8,8 @@ const lua = require('../../src/lua.js'); const lauxlib = require('../../src/lauxlib.js'); const lualib = require('../../src/lualib.js'); - -test("[test-suite] closure: testing equality", function (t) { +// TODO: fengari doesn't cache closures yet/ever +test("[test-suite] closure: testing equality", { skip: true }, function (t) { let luaCode = ` a = {} for i = 1, 5 do a[i] = function (x) return x + a + _ENV end end @@ -100,6 +100,8 @@ test("[test-suite] closure: testing closures with 'for' control variable", funct test("[test-suite] closure: testing closures with 'for' control variable x break", function (t) { let luaCode = ` + local t = {"a", "b"} + for i=1,3 do f = function () return i end break -- cgit v1.2.3-70-g09d2