diff options
Diffstat (limited to 'test/testdata/eval-fail-toJSON.nix')
-rw-r--r-- | test/testdata/eval-fail-toJSON.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-toJSON.nix b/test/testdata/eval-fail-toJSON.nix new file mode 100644 index 0000000..8112e1c --- /dev/null +++ b/test/testdata/eval-fail-toJSON.nix | |||
@@ -0,0 +1,10 @@ | |||
1 | builtins.toJSON { | ||
2 | a.b = [ | ||
3 | true | ||
4 | false | ||
5 | "it's a bird" | ||
6 | { | ||
7 | c.d = throw "hah no"; | ||
8 | } | ||
9 | ]; | ||
10 | } | ||