From a02f4e93b92e7ebb7ef038ad151e51652b0ce84d Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Tue, 18 Apr 2017 15:20:37 +0200 Subject: No more Table, just TValue with table type and Map value --- tests/lvm.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/lvm.js') diff --git a/tests/lvm.js b/tests/lvm.js index 0f91d81..fe463eb 100644 --- a/tests/lvm.js +++ b/tests/lvm.js @@ -6,7 +6,6 @@ const beautify = require('js-beautify').js_beautify; const lua_State = require("../src/lstate.js").lua_State; const VM = require("../src/lvm.js"); const lapi = require("../src/lapi.js"); -const Table = require("../src/lobject.js").Table; const getState = require("./tests.js").getState; @@ -120,7 +119,7 @@ test('NEWTABLE', function (t) { }, "Program executed without errors"); t.ok( - L.stack[L.top - 1] instanceof Table, + L.stack[L.top - 1].ttistable(), "Program output is correct" ); }); -- cgit v1.2.3-54-g00ecf