about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-15T13·46+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-15T14·01+0100
commite03d6e09983bb5ad99352933c4d2f21b139294d2 (patch)
treef5c63799f982f66f1e6267fdc38930695835ce93 /tests
parenteb62e23f14e953047938b05070e9dea730490b20 (diff)
Fix broken number parsing in fromJSON
The call to tmp_number.append had its arguments mixed up. Also, JSON
does not allow a trailing "," after array/object members.
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-okay-fromjson.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-fromjson.nix b/tests/lang/eval-okay-fromjson.nix
index 2a9ad0cabeb0..102ee82b5e6b 100644
--- a/tests/lang/eval-okay-fromjson.nix
+++ b/tests/lang/eval-okay-fromjson.nix
@@ -14,7 +14,7 @@ builtins.fromJSON
           "Animated" : false,
           "IDs": [116, 943, 234, 38793, true  ,false,null, -100],
           "Latitude":  37.7668,
-          "Longitude": -122.3959,
+          "Longitude": -122.3959
         }
     }
   ''