From 42aec0363191bf38832586af50ee22fbd4df47a3 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 15 Jun 2017 00:52:28 +1000 Subject: tests/test-suite/inprogress/pm.js: un-split range tests strset tests use 'abc' variable --- tests/test-suite/inprogress/pm.js | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'tests/test-suite') diff --git a/tests/test-suite/inprogress/pm.js b/tests/test-suite/inprogress/pm.js index e9510c5..358910c 100644 --- a/tests/test-suite/inprogress/pm.js +++ b/tests/test-suite/inprogress/pm.js @@ -160,31 +160,7 @@ test("[test-suite] pm: range", function (t) { local abc = string.char(range(0, 255)); assert(string.len(abc) == 256) - `, L; - - t.plan(2); - - t.doesNotThrow(function () { - - L = lauxlib.luaL_newstate(); - - lualib.luaL_openlibs(L); - lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode)); - - }, "Lua program loaded without error"); - - t.doesNotThrow(function () { - - lua.lua_call(L, 0, -1); - - }, "Lua program ran without error"); - -}); - - -test("[test-suite] pm: range (strset)", function (t) { - let luaCode = ` function strset (p) local res = {s=''} string.gsub(abc, p, function (c) res.s = res.s .. c end) -- cgit v1.2.3-70-g09d2