aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-23 20:24:14 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-23 20:24:14 +0800
commit2c6065e198926e5026d51a2b0effe9223dd2cd01 (patch)
treef560ecc9807491f74942e40ddb0d9d3dda3a42a9
parentdf7216ceb5cdf8ac50e9d6d4e14fd4efb56b6f9c (diff)
downloadprosody-2c6065e198926e5026d51a2b0effe9223dd2cd01.tar.gz
prosody-2c6065e198926e5026d51a2b0effe9223dd2cd01.zip
test_utf8: remove 2 unused variables and an undefined variable [luacheck]
-rw-r--r--tests/test_utf8.lua1
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);