diff options
Diffstat (limited to 'test/testdata/eval-okay-tryeval.nix')
-rw-r--r-- | test/testdata/eval-okay-tryeval.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-tryeval.nix b/test/testdata/eval-okay-tryeval.nix new file mode 100644 index 0000000..629bc44 --- /dev/null +++ b/test/testdata/eval-okay-tryeval.nix | |||
@@ -0,0 +1,5 @@ | |||
1 | { | ||
2 | x = builtins.tryEval "x"; | ||
3 | y = builtins.tryEval (assert false; "y"); | ||
4 | z = builtins.tryEval (throw "bla"); | ||
5 | } | ||