aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-assert-equal-derivations-extra.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-assert-equal-derivations-extra.err.exp')
-rw-r--r--test/testdata/eval-fail-assert-equal-derivations-extra.err.exp26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-assert-equal-derivations-extra.err.exp b/test/testdata/eval-fail-assert-equal-derivations-extra.err.exp
new file mode 100644
index 0000000..7f49240
--- /dev/null
+++ b/test/testdata/eval-fail-assert-equal-derivations-extra.err.exp
@@ -0,0 +1,26 @@
1error:
2 … while evaluating the condition of the assertion '({ foo = { outPath = "/nix/store/0"; type = "derivation"; }; } == { foo = { devious = true; outPath = "/nix/store/1"; type = "derivation"; }; })'
3 at /pwd/lang/eval-fail-assert-equal-derivations-extra.nix:1:1:
4 1| assert
5 | ^
6 2| { foo = { type = "derivation"; outPath = "/nix/store/0"; }; }
7
8 … while comparing attribute 'foo'
9
10 … where left hand side is
11 at /pwd/lang/eval-fail-assert-equal-derivations-extra.nix:2:5:
12 1| assert
13 2| { foo = { type = "derivation"; outPath = "/nix/store/0"; }; }
14 | ^
15 3| ==
16
17 … where right hand side is
18 at /pwd/lang/eval-fail-assert-equal-derivations-extra.nix:4:5:
19 3| ==
20 4| { foo = { type = "derivation"; outPath = "/nix/store/1"; devious = true; }; };
21 | ^
22 5| throw "unreachable"
23
24 … while comparing a derivation by its 'outPath' attribute
25
26 error: string '"/nix/store/0"' is not equal to string '"/nix/store/1"'