diff options
Diffstat (limited to 'spec/util_dataforms_spec.lua')
-rw-r--r-- | spec/util_dataforms_spec.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/util_dataforms_spec.lua b/spec/util_dataforms_spec.lua index 426dce33..e0a9bb9b 100644 --- a/spec/util_dataforms_spec.lua +++ b/spec/util_dataforms_spec.lua @@ -458,6 +458,12 @@ describe("util.dataforms", function () assert.table(e); assert.string(e.number); end); + + it("serializes largeer ints okay", function () + local x = f:form{number=1125899906842624} + assert.equal("1125899906842624", x:find("field/value#")) + end); + end) describe("datetime", function () |