summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShmuel Zeigerman <solomuz0@gmail.com>2012-02-12 17:50:05 +0200
committerShmuel Zeigerman <solomuz0@gmail.com>2012-02-12 17:50:05 +0200
commitf69b66572dc66fab1c52df25440a97cfc2ecc9e4 (patch)
tree84e05dff57cebdd5c9b74b188763f6b88c919732
parent377b4edbbbc5aa4dbdaa5a0a95b4227f94eeb85c (diff)
downloadlrexlib-f69b66572dc66fab1c52df25440a97cfc2ecc9e4.tar.gz
Test suite: avoid using sysutils library.
-rw-r--r--test/tre_sets.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/tre_sets.lua b/test/tre_sets.lua
index f99ceab..2b25b48 100644
--- a/test/tre_sets.lua
+++ b/test/tre_sets.lua
@@ -6,9 +6,7 @@
local luatest = require "luatest"
local N = luatest.NT
-local sysutils = require "sysutils"
-local L = sysutils.Utf8ToUtf16
-local U = sysutils.Utf16ToUtf8
+local L = function(s) return (string.gsub(s, ".", "%0\0")) end
local function norm(a) return a==nil and N or a end