diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-23 18:17:54 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-23 18:17:54 +0200 |
commit | bd9c89039785925ef833c2081150adaf9acbdb94 (patch) | |
tree | b3035e5a9c8c68b60fd292c84d71d597039b8094 /spec/json/fail23.json | |
parent | d0b6d2010c6badde88a1493ea67fc19d94ccff4c (diff) | |
download | prosody-bd9c89039785925ef833c2081150adaf9acbdb94.tar.gz prosody-bd9c89039785925ef833c2081150adaf9acbdb94.zip |
util.rsm: Test that Lua 5.3 floats are not encoded with decimal point
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".
Diffstat (limited to 'spec/json/fail23.json')
0 files changed, 0 insertions, 0 deletions