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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Jul 10 18:14:07 MSK 2018


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




More information about the Tarantool-patches mailing list