diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-06 16:05:57 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-06 16:05:57 +0100 |
commit | 12a94eee9180b0aa9d885bfe35b1cab651726511 (patch) | |
tree | 5a6ccfcd8d9fb6e2f2d1d35910732fba43e61132 /tests/test_utf8.lua | |
parent | fbb5d2716262098026125ab7ae1e2ca8b9bc147f (diff) | |
parent | 69990587c92aacfad843fa8f72d49af5870086f5 (diff) | |
download | prosody-12a94eee9180b0aa9d885bfe35b1cab651726511.tar.gz prosody-12a94eee9180b0aa9d885bfe35b1cab651726511.zip |
Merge 0.10->trunk
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+):"); |