aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-not-throws.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-fail-not-throws.err.exp')
-rw-r--r--tests/functional/lang/eval-fail-not-throws.err.exp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-not-throws.err.exp b/tests/functional/lang/eval-fail-not-throws.err.exp
new file mode 100644
index 000000000..b290afb0a
--- /dev/null
+++ b/tests/functional/lang/eval-fail-not-throws.err.exp
@@ -0,0 +1,18 @@
+error:
+ … in the argument of the not operator
+
+ at /pwd/lang/eval-fail-not-throws.nix:1:4:
+
+ 1| ! (throw "uh oh!")
+ | ^
+ 2|
+
+ … while calling the 'throw' builtin
+
+ at /pwd/lang/eval-fail-not-throws.nix:1:4:
+
+ 1| ! (throw "uh oh!")
+ | ^
+ 2|
+
+ error: uh oh!