aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_stanza.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-06 16:05:57 +0100
committerKim Alvefur <zash@zash.se>2017-03-06 16:05:57 +0100
commit6403594a10e820f81e9bdffed95d947b7350cca9 (patch)
tree5a6ccfcd8d9fb6e2f2d1d35910732fba43e61132 /tests/test_util_stanza.lua
parent367037154898857cf54466a6b5eb8889f04006cb (diff)
parent66618bf09cc664d9375bf41174297714782b4346 (diff)
downloadprosody-6403594a10e820f81e9bdffed95d947b7350cca9.tar.gz
prosody-6403594a10e820f81e9bdffed95d947b7350cca9.zip
Merge 0.10->trunk
Diffstat (limited to 'tests/test_util_stanza.lua')
-rw-r--r--tests/test_util_stanza.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_util_stanza.lua b/tests/test_util_stanza.lua
index bc0ac64a..4be07a4b 100644
--- a/tests/test_util_stanza.lua
+++ b/tests/test_util_stanza.lua
@@ -37,7 +37,7 @@ function stanza(stanza)
assert_equal(s1.attr.xmlns, nil);
assert_equal(#s1, 0);
assert_equal(#s1.tags, 0);
-
+
s1:tag("child1");
assert_equal(#s1.tags, 1);
assert_equal(s1.tags[1].name, "child1");
@@ -47,7 +47,7 @@ function stanza(stanza)
assert_equal(s1.tags[1].name, "child1");
assert_equal(#s1.tags[1], 1);
assert_equal(s1.tags[1][1].name, "grandchild1");
-
+
s1:up():tag("child2");
assert_equal(#s1.tags, 2, tostring(s1));
assert_equal(s1.tags[1].name, "child1");