diff options
author | Anton Shestakov <av6@dwimlabs.net> | 2016-07-23 20:24:14 +0800 |
---|---|---|
committer | Anton Shestakov <av6@dwimlabs.net> | 2016-07-23 20:24:14 +0800 |
commit | f0e16572c0b2e83b9d174733ef8b627711dd0031 (patch) | |
tree | f560ecc9807491f74942e40ddb0d9d3dda3a42a9 /tests | |
parent | 27b642fd2dd7949ba96de3bb006ed2d26cf4f83b (diff) | |
download | prosody-f0e16572c0b2e83b9d174733ef8b627711dd0031.tar.gz prosody-f0e16572c0b2e83b9d174733ef8b627711dd0031.zip |
test_utf8: remove 2 unused variables and an undefined variable [luacheck]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_utf8.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_utf8.lua b/tests/test_utf8.lua index 481eff5d..db59a70f 100644 --- a/tests/test_utf8.lua +++ b/tests/test_utf8.lua @@ -11,7 +11,6 @@ function valid() if expect ~= "pass" and expect ~= "fail" then error("unknown expectation: "..line:match("^[^:]+")); end - local prefix, style = " ", valid_style; local valid = utf8.valid(data); assert_equal(valid, utf8.valid(data.." ")); assert_equal(valid, expect == "pass", line); |