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

  • From: Kirill Shcherbatov <kshcherbatov@xxxxxxxxxxxxx>
  • To: tarantool-patches@xxxxxxxxxxxxx
  • Date: Tue, 10 Jul 2018 17:57:11 +0300

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)


Other related posts: