diff options
author | Kim Alvefur <zash@zash.se> | 2016-07-08 22:01:10 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-07-08 22:01:10 +0200 |
commit | 7b3f79b2ec8c94a585354d442bc9680cea62c5a3 (patch) | |
tree | e5339d0c057334591e52af0777588890d51081a5 /tests/test_util_multitable.lua | |
parent | 8c0ca748b53ca43d707d86590f666bda5e908a81 (diff) | |
parent | 9741bdfb3887695e7021d793ce6a96eaf595ed2b (diff) | |
download | prosody-7b3f79b2ec8c94a585354d442bc9680cea62c5a3.tar.gz prosody-7b3f79b2ec8c94a585354d442bc9680cea62c5a3.zip |
Merge 0.10->trunk
Diffstat (limited to 'tests/test_util_multitable.lua')
-rw-r--r-- | tests/test_util_multitable.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_util_multitable.lua b/tests/test_util_multitable.lua index 71a83450..4a8dd14c 100644 --- a/tests/test_util_multitable.lua +++ b/tests/test_util_multitable.lua @@ -8,7 +8,7 @@ function new(new, multitable) - mt = new(); + local mt = new(); assert_table(mt, "Multitable is a table"); assert_function(mt.add, "Multitable has method add"); assert_function(mt.get, "Multitable has method get"); @@ -40,7 +40,7 @@ function get(get, multitable) return assert_equal(select(2, has_items(list, ...)), "has-all", message or "List has all expected items, and no more", 2); end - mt = multitable.new(); + local mt = multitable.new(); local trigger1, trigger2, trigger3 = {}, {}, {}; local item1, item2, item3 = {}, {}, {}; |