diff options
Diffstat (limited to 'tests/lang/eval-fail-toJSON.nix')
-rw-r--r-- | tests/lang/eval-fail-toJSON.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-toJSON.nix b/tests/lang/eval-fail-toJSON.nix new file mode 100644 index 000000000..8112e1c1f --- /dev/null +++ b/tests/lang/eval-fail-toJSON.nix @@ -0,0 +1,10 @@ +builtins.toJSON { + a.b = [ + true + false + "it's a bird" + { + c.d = throw "hah no"; + } + ]; +} |