aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-seq.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-fail-seq.err.exp')
-rw-r--r--tests/functional/lang/eval-fail-seq.err.exp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-seq.err.exp b/tests/functional/lang/eval-fail-seq.err.exp
new file mode 100644
index 000000000..33a7e9491
--- /dev/null
+++ b/tests/functional/lang/eval-fail-seq.err.exp
@@ -0,0 +1,18 @@
+error:
+ … while calling the 'seq' builtin
+
+ at /pwd/lang/eval-fail-seq.nix:1:1:
+
+ 1| builtins.seq (abort "foo") 2
+ | ^
+ 2|
+
+ … while calling the 'abort' builtin
+
+ at /pwd/lang/eval-fail-seq.nix:1:15:
+
+ 1| builtins.seq (abort "foo") 2
+ | ^
+ 2|
+
+ error: evaluation aborted with the following error message: 'foo'