diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-11 21:41:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-11 21:41:02 +0200 |
commit | 0cf5e523843ae039f2aa005995cd320d7fe2ff1f (patch) | |
tree | 2bb49ffdc316cabfa34ef945e0cd64cc3a11f02d /spec/util_time_spec.lua | |
parent | 1d34aa9296c22ac0e4dbcb2f352d38130d6a78f4 (diff) | |
download | prosody-0cf5e523843ae039f2aa005995cd320d7fe2ff1f.tar.gz prosody-0cf5e523843ae039f2aa005995cd320d7fe2ff1f.zip |
spec/storage: Reset build context of test stanza make comparisons easier
While building a stanza there's a .last_add field keeping track of where
in the XML tree tags are being added. This field does not survive a
roundtrip through preserialize / deserialize. :reset() removes this,
which simplifes comparisons after such a roundtrip.
Diffstat (limited to 'spec/util_time_spec.lua')
0 files changed, 0 insertions, 0 deletions