aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-deepseq.err.exp
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-13 15:06:08 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-13 15:06:08 -0400
commitddc0a2050b292db4687027401d031d90c2b2cf56 (patch)
tree7f4c590b3fbf9ac4dcf1d2b92caf86c77a677512 /tests/lang/eval-fail-deepseq.err.exp
parenta2acd23466108a1a10ed3b6b874c558bd95e7645 (diff)
parentbbc08a11f49ac41d8fa91510bcff269540c310a4 (diff)
Merge remote-tracking branch 'upstream/master' into best-effort-supplementary-groups
Diffstat (limited to 'tests/lang/eval-fail-deepseq.err.exp')
-rw-r--r--tests/lang/eval-fail-deepseq.err.exp26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-deepseq.err.exp b/tests/lang/eval-fail-deepseq.err.exp
new file mode 100644
index 000000000..5e204ba73
--- /dev/null
+++ b/tests/lang/eval-fail-deepseq.err.exp
@@ -0,0 +1,26 @@
+error:
+ … while calling the 'deepSeq' builtin
+
+ at /pwd/lang/eval-fail-deepseq.nix:1:1:
+
+ 1| builtins.deepSeq { x = abort "foo"; } 456
+ | ^
+ 2|
+
+ … while evaluating the attribute 'x'
+
+ at /pwd/lang/eval-fail-deepseq.nix:1:20:
+
+ 1| builtins.deepSeq { x = abort "foo"; } 456
+ | ^
+ 2|
+
+ … while calling the 'abort' builtin
+
+ at /pwd/lang/eval-fail-deepseq.nix:1:24:
+
+ 1| builtins.deepSeq { x = abort "foo"; } 456
+ | ^
+ 2|
+
+ error: evaluation aborted with the following error message: 'foo'