Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Shcherbatov <kshcherbatov@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH v1 1/1] app: fix parsing integers with exponent in json
Date: Tue, 10 Jul 2018 17:57:11 +0300	[thread overview]
Message-ID: <ae3a459c-6456-a467-0d45-7dfdde927345@tarantool.org> (raw)
In-Reply-To: <aa50eea8-0201-b938-dcd9-d9de433a693d@tarantool.org>

> 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)

  reply	other threads:[~2018-07-10 14:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-10 10:42 [tarantool-patches] " Kirill Shcherbatov
2018-07-10 12:14 ` [tarantool-patches] " Vladislav Shpilevoy
2018-07-10 14:57   ` Kirill Shcherbatov [this message]
2018-07-10 15:14     ` Vladislav Shpilevoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ae3a459c-6456-a467-0d45-7dfdde927345@tarantool.org \
    --to=kshcherbatov@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='[tarantool-patches] Re: [PATCH v1 1/1] app: fix parsing integers with exponent in json' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox