Software /
code /
prosody
Diff
spec/util_jwt_spec.lua @ 10836:93019f3edd68
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 May 2020 21:41:02 +0200 (2020-05-11) |
parent | 10661:4eee1aaa9405 |
child | 12696:27a72982e331 |