summaryrefslogtreecommitdiff
path: root/tests/test-suite
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-24 16:55:45 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-29 13:45:03 +1000
commit73d641f4cb9788757188ee1147c558bd07a16a93 (patch)
tree1277998c5573877c61531c3cfdd1a900cd8059fc /tests/test-suite
parent02bec8525e5dbdb9de0268d666af7511bb130e64 (diff)
downloadfengari-73d641f4cb9788757188ee1147c558bd07a16a93.tar.gz
fengari-73d641f4cb9788757188ee1147c558bd07a16a93.tar.bz2
fengari-73d641f4cb9788757188ee1147c558bd07a16a93.zip
src/lvm.js: cache closures
Diffstat (limited to 'tests/test-suite')
-rw-r--r--tests/test-suite/closure.js3
1 files changed, 1 insertions, 2 deletions
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