aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_rsm_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.rsm: Increase test coverageKim Alvefur2021-03-061-0/+43
| | | | Test all fields in both directions in order to catch #1642
* util.rsm: Test that Lua 5.3 floats are not encoded with decimal pointKim Alvefur2020-04-231-0/+7
| | | | | | | | The 'max' 'count' and 'index' fields are integers and should be encoded as such on the wire. Care needs to be taken because tostring(1.0) in Lua 5.3+ returns to "1.0" while in previous Lua versions it would return "1".
* util.rsm: Add testsKim Alvefur2020-04-231-0/+82
Based on examples from XEP-0059