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 30BF520FA5 for ; Tue, 10 Jul 2018 10:57:15 -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 12eShI6JTclb for ; Tue, 10 Jul 2018 10:57:15 -0400 (EDT) Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (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 81A6B20F7E for ; Tue, 10 Jul 2018 10:57:14 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v1 1/1] app: fix parsing integers with exponent in json References: From: Kirill Shcherbatov Message-ID: Date: Tue, 10 Jul 2018 17:57:11 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 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: tarantool-patches@freelists.org Cc: Vladislav Shpilevoy > 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)