[tarantool-patches] Re: [PATCH v1 1/1] app: fix parsing integers with exponent in json

Kirill Shcherbatov kshcherbatov at tarantool.org
Tue Jul 10 17:57:11 MSK 2018


> Please, do not create a new file. Reuse existing one.

Ok, moved to app-tap/json.test.lua

+    --
+    -- gh-3514: fix parsing integers with exponent in json
+    --
+    test:is(serializer.decode('{"var":2.0e+3}')["var"], 2000)
+    test:is(serializer.decode('{"var":2.0e+3}')["var"], 2000)
+    test:is(serializer.decode('{"var":2.0e+3}')["var"], 2000)
+    test:is(serializer.decode('{"var":2.0e+3}')["var"], 2000)





More information about the Tarantool-patches mailing list