From f69b66572dc66fab1c52df25440a97cfc2ecc9e4 Mon Sep 17 00:00:00 2001 From: Shmuel Zeigerman Date: Sun, 12 Feb 2012 17:50:05 +0200 Subject: Test suite: avoid using sysutils library. --- test/tre_sets.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') 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 -- cgit v1.2.1