From 5cdcaf5e8edd6679f667502eec421ac4e725d4ef Mon Sep 17 00:00:00 2001 From: Christian Theune Date: Wed, 6 Jan 2016 10:03:24 +0100 Subject: Adapt tests to show that floats work properly. --- tests/lang/eval-okay-fromjson.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/lang/eval-okay-fromjson.nix') diff --git a/tests/lang/eval-okay-fromjson.nix b/tests/lang/eval-okay-fromjson.nix index 5ed0c1c4395d..2a9ad0cabeb0 100644 --- a/tests/lang/eval-okay-fromjson.nix +++ b/tests/lang/eval-okay-fromjson.nix @@ -12,7 +12,9 @@ builtins.fromJSON "Width": 100 }, "Animated" : false, - "IDs": [116, 943, 234, 38793, true ,false,null, -100] + "IDs": [116, 943, 234, 38793, true ,false,null, -100], + "Latitude": 37.7668, + "Longitude": -122.3959, } } '' @@ -28,5 +30,7 @@ builtins.fromJSON }; Animated = false; IDs = [ 116 943 234 38793 true false null (0-100) ]; + Latitude = 37.7668; + Longitude = -122.3959; }; } -- cgit 1.4.1