diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-06 16:01:27 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-06 16:01:27 +0100 |
commit | 87fd1c7249c32ecd6df0b32499413f7c163d3a99 (patch) | |
tree | 30a8918b81a727917be48a34b1c7029153b54512 /tests/test_utf8.lua | |
parent | 0b66f61fac4167996b9fa27146e793a7dee0a363 (diff) | |
download | prosody-87fd1c7249c32ecd6df0b32499413f7c163d3a99.tar.gz prosody-87fd1c7249c32ecd6df0b32499413f7c163d3a99.zip |
tests: Trim trailing whitespace
Diffstat (limited to 'tests/test_utf8.lua')
-rw-r--r-- | tests/test_utf8.lua | 2 |
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+):"); |