projects
/
prosody.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
897dab953e9fd086d12857cf93ba2a1958ec8afc
[prosody.git]
/
tests
/
test_util_stanza.lua
1
2
function deserialize(deserialize, st)
3
local stanza = st.stanza("message", { a = "a" });
4
5
local stanza2 = deserialize(st.preserialize(stanza));
6
assert_is(stanza2.last_add, "Deserialized stanza is missing last_add for adding child tags");
7
end