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 | 2c6065e198926e5026d51a2b0effe9223dd2cd01 (patch) | |
tree | f560ecc9807491f74942e40ddb0d9d3dda3a42a9 /tests/test_utf8.lua | |
parent | df7216ceb5cdf8ac50e9d6d4e14fd4efb56b6f9c (diff) | |
download | prosody-2c6065e198926e5026d51a2b0effe9223dd2cd01.tar.gz prosody-2c6065e198926e5026d51a2b0effe9223dd2cd01.zip |
test_utf8: remove 2 unused variables and an undefined variable [luacheck]
Diffstat (limited to 'tests/test_utf8.lua')
-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); |