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
commit9a5dda17fd9f7d0b9f246ddd17f1623ee338236b (patch)
tree30a8918b81a727917be48a34b1c7029153b54512 /tests/test_util_stanza.lua
parent7e3a83a35b66db9a88dac62079b71331630cefa9 (diff)
downloadprosody-9a5dda17fd9f7d0b9f246ddd17f1623ee338236b.tar.gz
prosody-9a5dda17fd9f7d0b9f246ddd17f1623ee338236b.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");