aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-abort.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-fail-abort.err.exp')
-rw-r--r--tests/lang/eval-fail-abort.err.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-abort.err.exp b/tests/lang/eval-fail-abort.err.exp
new file mode 100644
index 000000000..345232d3f
--- /dev/null
+++ b/tests/lang/eval-fail-abort.err.exp
@@ -0,0 +1,10 @@
+error:
+ … while calling the 'abort' builtin
+
+ at /pwd/lang/eval-fail-abort.nix:1:14:
+
+ 1| if true then abort "this should fail" else 1
+ | ^
+ 2|
+
+ error: evaluation aborted with the following error message: 'this should fail'