X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=tests%2Ftest_util_jid.lua;fp=tests%2Ftest_util_jid.lua;h=0ac5827e14cee5328d8b768b83f1073ac47b0b75;hb=5f7b93067521c3dea61262bf8fcfc704f5e19a3f;hp=c697e63f5c33c85f66374092f52ad8a78a555fbe;hpb=0ca860005cbdd6841778076c1c22fd324f7f58b8;p=prosody.git diff --git a/tests/test_util_jid.lua b/tests/test_util_jid.lua index c697e63f..0ac5827e 100644 --- a/tests/test_util_jid.lua +++ b/tests/test_util_jid.lua @@ -19,7 +19,7 @@ end function split(split) - function test(input_jid, expected_node, expected_server, expected_resource) + local function test(input_jid, expected_node, expected_server, expected_resource) local rnode, rserver, rresource = split(input_jid); assert_equal(expected_node, rnode, "split("..tostring(input_jid)..") failed"); assert_equal(expected_server, rserver, "split("..tostring(input_jid)..") failed");