summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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