diff options
author | daurnimator <quae@daurnimator.com> | 2017-06-15 00:52:28 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-06-15 00:52:28 +1000 |
commit | 42aec0363191bf38832586af50ee22fbd4df47a3 (patch) | |
tree | 37cfcfab25fc0ac6e63e621a67154431adc97512 /tests | |
parent | d39203f46fa4d7b3f95c762faeb0a9277f87d167 (diff) | |
download | fengari-42aec0363191bf38832586af50ee22fbd4df47a3.tar.gz fengari-42aec0363191bf38832586af50ee22fbd4df47a3.tar.bz2 fengari-42aec0363191bf38832586af50ee22fbd4df47a3.zip |
tests/test-suite/inprogress/pm.js: un-split range tests
strset tests use 'abc' variable
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-suite/inprogress/pm.js | 24 |
1 files changed, 0 insertions, 24 deletions
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) |