From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5418E23473 for ; Tue, 10 Jul 2018 11:14:10 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5bSDXV4qwplx for ; Tue, 10 Jul 2018 11:14:10 -0400 (EDT) Received: from smtp41.i.mail.ru (smtp41.i.mail.ru [94.100.177.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 11D3721C4C for ; Tue, 10 Jul 2018 11:14:09 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v1 1/1] app: fix parsing integers with exponent in json References: From: Vladislav Shpilevoy Message-ID: <31fcc59d-39b2-cb24-4db6-da5abccc3e68@tarantool.org> Date: Tue, 10 Jul 2018 18:14:07 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Kirill Shcherbatov , tarantool-patches@freelists.org, Kirill Yukhin ACK. On 10/07/2018 17:57, Kirill Shcherbatov wrote: >> 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) >