aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-09 00:56:32 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-09 00:56:32 +0800
commitf6a1c987cebc02bff835b471054b8065fa0c9ab0 (patch)
tree5775b2a3aaac39e98604f6d77c13310f956e8e3e
parent1507e8b4983b9c698cfa67131005a5a9d9c533f6 (diff)
downloadprosody-f6a1c987cebc02bff835b471054b8065fa0c9ab0.tar.gz
prosody-f6a1c987cebc02bff835b471054b8065fa0c9ab0.zip
test_util_jid: make function test() local [luacheck]
-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");