about summary refs log tree commit diff
path: root/tests/lang/eval-okay-tojson.nix
diff options
context:
space:
mode:
authorChristian Theune <ct@flyingcircus.io>2016-01-06T09·03+0100
committerChristian Theune <ct@flyingcircus.io>2016-01-06T09·03+0100
commit5cdcaf5e8edd6679f667502eec421ac4e725d4ef (patch)
treeab550f06668023ee90c3b89d23838e60fab02952 /tests/lang/eval-okay-tojson.nix
parentb4bda4765af09acb86a4dd71105059491e7dcc30 (diff)
Adapt tests to show that floats work properly.
Diffstat (limited to 'tests/lang/eval-okay-tojson.nix')
-rw-r--r--tests/lang/eval-okay-tojson.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-tojson.nix b/tests/lang/eval-okay-tojson.nix
index 0d4e55b3d3..c046ba4ae5 100644
--- a/tests/lang/eval-okay-tojson.nix
+++ b/tests/lang/eval-okay-tojson.nix
@@ -8,4 +8,5 @@ builtins.toJSON
     g = [ 1 2 3 ];
     h = [ "a" [ "b" { "foo\nbar" = {}; } ] ];
     i = 1 + 2;
+    j = 1.44;
   }