X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=tests%2Ftest_sasl.lua;h=dd63c5a00ec403dab610f31d4676ef803bcbcdae;hb=0ee742019c5a7a86de6fbaf98db2c737c5ce41a9;hp=271fa69a5a3b6bd1cad49c4f8d6b17dabcb37e57;hpb=1457ad14ec102b637b799b6ee55a74dc07df3243;p=prosody.git diff --git a/tests/test_sasl.lua b/tests/test_sasl.lua index 271fa69a..dd63c5a0 100644 --- a/tests/test_sasl.lua +++ b/tests/test_sasl.lua @@ -1,7 +1,7 @@ -- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain --- +-- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- @@ -30,7 +30,7 @@ function latin1toutf8() local function assert_utf8(latin, utf8) assert_equal(_latin1toutf8(latin), utf8, "Incorrect UTF8 from Latin1: "..tostring(latin)); end - + assert_utf8("", "") assert_utf8("test", "test") assert_utf8(nil, nil)