aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_stanza.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-06 16:01:27 +0100
committerKim Alvefur <zash@zash.se>2017-03-06 16:01:27 +0100
commit87fd1c7249c32ecd6df0b32499413f7c163d3a99 (patch)
tree30a8918b81a727917be48a34b1c7029153b54512 /tests/test_util_stanza.lua
parent0b66f61fac4167996b9fa27146e793a7dee0a363 (diff)
downloadprosody-87fd1c7249c32ecd6df0b32499413f7c163d3a99.tar.gz
prosody-87fd1c7249c32ecd6df0b32499413f7c163d3a99.zip
tests: Trim trailing whitespace
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");