diff options
Diffstat (limited to 'test/testdata/eval-fail-not-throws.err.exp')
-rw-r--r-- | test/testdata/eval-fail-not-throws.err.exp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-not-throws.err.exp b/test/testdata/eval-fail-not-throws.err.exp new file mode 100644 index 0000000..fc81f72 --- /dev/null +++ b/test/testdata/eval-fail-not-throws.err.exp | |||
@@ -0,0 +1,14 @@ | |||
1 | error: | ||
2 | … in the argument of the not operator | ||
3 | at /pwd/lang/eval-fail-not-throws.nix:1:4: | ||
4 | 1| ! (throw "uh oh!") | ||
5 | | ^ | ||
6 | 2| | ||
7 | |||
8 | … while calling the 'throw' builtin | ||
9 | at /pwd/lang/eval-fail-not-throws.nix:1:4: | ||
10 | 1| ! (throw "uh oh!") | ||
11 | | ^ | ||
12 | 2| | ||
13 | |||
14 | error: uh oh! | ||