Software / code / prosody
Changeset
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 |
| parents | 7514:ea58c0fe1cd7 |
| children | 7516:f74ff35a4b03 7519:d278a770eddc |
| files | tests/test_utf8.lua |
| diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
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);