Software /
code /
prosody
Diff
tests/test_utf8.lua @ 7515:9e48299799d8
test_utf8: remove 2 unused variables and an undefined variable [luacheck]
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 23 Jul 2016 20:24:14 +0800 |
parent | 6594:fa6eb6fb4a80 |
child | 7961:ff556d010225 |
line wrap: on
line diff
--- a/tests/test_utf8.lua Sat Jul 23 20:12:53 2016 +0800 +++ b/tests/test_utf8.lua Sat Jul 23 20:24:14 2016 +0800 @@ -11,7 +11,6 @@ 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);