Software /
code /
prosody
Changeset
3639:889ef938552c
tests/test_util_stanza.lua: Allow stanza.last_add to be nil.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 26 Nov 2010 05:24:59 +0500 |
parents | 3638:6f58a3063c14 |
children | 3640:4bc88bb748d1 |
files | tests/test_util_stanza.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_util_stanza.lua Fri Nov 26 05:23:37 2010 +0500 +++ b/tests/test_util_stanza.lua Fri Nov 26 05:24:59 2010 +0500 @@ -21,7 +21,6 @@ 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");