aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_stanza.lua
blob: 897dab953e9fd086d12857cf93ba2a1958ec8afc (plain)
1
2
3
4
5
6
7

function deserialize(deserialize, st)
	local stanza = st.stanza("message", { a = "a" });
	
	local stanza2 = deserialize(st.preserialize(stanza));
	assert_is(stanza2.last_add, "Deserialized stanza is missing last_add for adding child tags");
end