From 73d641f4cb9788757188ee1147c558bd07a16a93 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 24 May 2017 16:55:45 +1000 Subject: src/lvm.js: cache closures --- tests/test-suite/closure.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/test-suite') diff --git a/tests/test-suite/closure.js b/tests/test-suite/closure.js index 3f63f17..8e9e4b1 100644 --- a/tests/test-suite/closure.js +++ b/tests/test-suite/closure.js @@ -8,8 +8,7 @@ const lua = require('../../src/lua.js'); const lauxlib = require('../../src/lauxlib.js'); const lualib = require('../../src/lualib.js'); -// TODO: fengari doesn't cache closures yet/ever -test("[test-suite] closure: testing equality", { skip: true }, function (t) { +test("[test-suite] closure: testing equality", function (t) { let luaCode = ` a = {} for i = 1, 5 do a[i] = function (x) return x + a + _ENV end end -- cgit v1.2.3-70-g09d2