aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utf8.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-06 16:01:27 +0100
committerKim Alvefur <zash@zash.se>2017-03-06 16:01:27 +0100
commit9a5dda17fd9f7d0b9f246ddd17f1623ee338236b (patch)
tree30a8918b81a727917be48a34b1c7029153b54512 /tests/test_utf8.lua
parent7e3a83a35b66db9a88dac62079b71331630cefa9 (diff)
downloadprosody-9a5dda17fd9f7d0b9f246ddd17f1623ee338236b.tar.gz
prosody-9a5dda17fd9f7d0b9f246ddd17f1623ee338236b.zip
tests: Trim trailing whitespace
Diffstat (limited to 'tests/test_utf8.lua')
-rw-r--r--tests/test_utf8.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utf8.lua b/tests/test_utf8.lua
index db59a70f..48859960 100644
--- a/tests/test_utf8.lua
+++ b/tests/test_utf8.lua
@@ -4,7 +4,7 @@ package.path = "../?.lua";
function valid()
local encodings = require "util.encodings";
local utf8 = assert(encodings.utf8, "no encodings.utf8 module");
-
+
for line in io.lines("utf8_sequences.txt") do
local data = line:match(":%s*([^#]+)"):gsub("%s+", ""):gsub("..", function (c) return string.char(tonumber(c, 16)); end)
local expect = line:match("(%S+):");