Software /
code /
prosody
Changeset
7473:a558fef9d018
test_util_jid: make function test() local [luacheck]
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 09 Jul 2016 00:56:32 +0800 |
parents | 7472:8965ad0aed2c |
children | 7474:701989ab904f |
files | tests/test_util_jid.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_util_jid.lua Sat Jul 09 00:53:46 2016 +0800 +++ b/tests/test_util_jid.lua Sat Jul 09 00:56:32 2016 +0800 @@ -19,7 +19,7 @@ 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");