projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db2ebc9
)
test_util_jid: make function test() local [luacheck]
author
Anton Shestakov
<av6@dwimlabs.net>
Fri, 8 Jul 2016 16:56:32 +0000
(
00:56
+0800)
committer
Anton Shestakov
<av6@dwimlabs.net>
Fri, 8 Jul 2016 16:56:32 +0000
(
00:56
+0800)
tests/test_util_jid.lua
patch
|
blob
|
history
diff --git
a/tests/test_util_jid.lua
b/tests/test_util_jid.lua
index c697e63f5c33c85f66374092f52ad8a78a555fbe..0ac5827e14cee5328d8b768b83f1073ac47b0b75 100644
(file)
--- 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");