aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utf8.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-06 16:05:57 +0100
committerKim Alvefur <zash@zash.se>2017-03-06 16:05:57 +0100
commit6403594a10e820f81e9bdffed95d947b7350cca9 (patch)
tree5a6ccfcd8d9fb6e2f2d1d35910732fba43e61132 /tests/test_utf8.lua
parent367037154898857cf54466a6b5eb8889f04006cb (diff)
parent66618bf09cc664d9375bf41174297714782b4346 (diff)
downloadprosody-6403594a10e820f81e9bdffed95d947b7350cca9.tar.gz
prosody-6403594a10e820f81e9bdffed95d947b7350cca9.zip
Merge 0.10->trunk
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+):");