From 5ad20228dd320f9fd3c250fbd246f531a7f4b5cf Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 29 May 2017 16:45:51 +1000 Subject: tests/test-suite/inprogress/utf8.js: join min/max tests together Both need 'x' --- tests/test-suite/inprogress/utf8.js | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'tests/test-suite') diff --git a/tests/test-suite/inprogress/utf8.js b/tests/test-suite/inprogress/utf8.js index 252ac8b..e3f63d1 100644 --- a/tests/test-suite/inprogress/utf8.js +++ b/tests/test-suite/inprogress/utf8.js @@ -355,30 +355,8 @@ test("[test-suite] utf8: minimum and maximum values for each sequence size", fun x = "日本語a-4\\0éó" check(x, {26085, 26412, 35486, 97, 45, 52, 0, 233, 243}) - `, L; - - t.plan(2); - - t.doesNotThrow(function () { - - L = lauxlib.luaL_newstate(); - - lualib.luaL_openlibs(L); - - lauxlib.luaL_loadstring(L, lua.to_luastring(prefix + luaCode)); - - }, "Lua program loaded without error"); - - t.doesNotThrow(function () { - - lua.lua_call(L, 0, -1); - - }, "Lua program ran without error"); -}); - -test("[test-suite] utf8: Supplementary Characters", function (t) { - let luaCode = ` + -- Supplementary Characters check("𣲷𠜎𠱓𡁻𠵼ab𠺢", {0x23CB7, 0x2070E, 0x20C53, 0x2107B, 0x20D7C, 0x61, 0x62, 0x20EA2,}) @@ -397,7 +375,7 @@ test("[test-suite] utf8: Supplementary Characters", function (t) { end end `, L; - + t.plan(2); t.doesNotThrow(function () { -- cgit v1.2.3-54-g00ecf