aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2016-02-05 13:50:08 +0100
committerPhilipp Janda <siffiejoe@gmx.net>2016-02-05 13:50:08 +0100
commit2c732b8c8831e656863a40530de2548615fa1ceb (patch)
treecb0669c1fda87e41f353fea53fa202616805da4a /tests
parentaf8c4896960770c0268ac3281d0622a0c0694dc5 (diff)
downloadlua-compat-5.3-2c732b8c8831e656863a40530de2548615fa1ceb.tar.gz
lua-compat-5.3-2c732b8c8831e656863a40530de2548615fa1ceb.tar.bz2
lua-compat-5.3-2c732b8c8831e656863a40530de2548615fa1ceb.zip
Simplify utf8 helper function.
There's no need for `compat_utf8_escape()` to be a vararg function. Remove default templates from `package.path`.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua
index f2094b9..8adad1a 100755
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -42,7 +42,7 @@ if arg[1] == "module" then
42end 42end
43 43
44 44
45package.path = "../?.lua;../?/init.lua;"..package.path 45package.path = "../?.lua;../?/init.lua"
46package.cpath = "./?-"..V..".so;./?-"..V..".dll;./?.so;./?.dll" 46package.cpath = "./?-"..V..".so;./?-"..V..".dll;./?.so;./?.dll"
47if mode == "module" then 47if mode == "module" then
48 print("testing Lua API using `compat53.module` ...") 48 print("testing Lua API using `compat53.module` ...")