aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_rsm_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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