diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-11-26 05:24:59 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-11-26 05:24:59 +0500 |
commit | 2c0ba4f75ffcb5dc9c4a97a2d647ed954c450bf6 (patch) | |
tree | a2afde3fd341cbf1378772f111a8bfc4fe270c52 /tests | |
parent | 539b221189ad1bd611fd4e3d72bda98f8881f632 (diff) | |
download | prosody-2c0ba4f75ffcb5dc9c4a97a2d647ed954c450bf6.tar.gz prosody-2c0ba4f75ffcb5dc9c4a97a2d647ed954c450bf6.zip |
tests/test_util_stanza.lua: Allow stanza.last_add to be nil.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_util_stanza.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_util_stanza.lua b/tests/test_util_stanza.lua index 7916a0c1..fce26f3a 100644 --- a/tests/test_util_stanza.lua +++ b/tests/test_util_stanza.lua @@ -21,7 +21,6 @@ function deserialize(deserialize, st) local stanza2 = deserialize(st.preserialize(stanza)); assert_is(stanza2 and stanza.name, "deserialize returns a stanza"); - assert_is(stanza2.last_add, "Deserialized stanza is missing last_add for adding child tags"); assert_table(stanza2.attr, "Deserialized stanza has attributes"); assert_equal(stanza2.attr.a, "a", "Deserialized stanza retains attributes"); assert_table(getmetatable(stanza2), "Deserialized stanza has metatable"); |