aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_jid.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-08 22:01:10 +0200
committerKim Alvefur <zash@zash.se>2016-07-08 22:01:10 +0200
commitc14840340a365a79517ff455b3e84d25ef62c159 (patch)
treee5339d0c057334591e52af0777588890d51081a5 /tests/test_util_jid.lua
parent01e9c0fcaece58c4b70ffcb2e6f3df8e15f03f7b (diff)
parentc53e625e427b1197b45ac9bbdf192cb07c6f2285 (diff)
downloadprosody-c14840340a365a79517ff455b3e84d25ef62c159.tar.gz
prosody-c14840340a365a79517ff455b3e84d25ef62c159.zip
Merge 0.10->trunk
Diffstat (limited to 'tests/test_util_jid.lua')
-rw-r--r--tests/test_util_jid.lua2
1 files changed, 1 insertions, 1 deletions
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");