diff options
author | Rutger Broekhoff | 2025-07-07 21:52:08 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2025-07-07 21:52:08 +0200 |
commit | ba61dfd69504ec6263a9dee9931d93adeb6f3142 (patch) | |
tree | d6c9b78e50eeab24e0c1c09ab45909a6ae3fd5db /test/testdata/eval-fail-assert-equal-derivations.err.exp | |
download | verified-dyn-lang-interp-ba61dfd69504ec6263a9dee9931d93adeb6f3142.tar.gz verified-dyn-lang-interp-ba61dfd69504ec6263a9dee9931d93adeb6f3142.zip |
Initialize repository
Diffstat (limited to 'test/testdata/eval-fail-assert-equal-derivations.err.exp')
-rw-r--r-- | test/testdata/eval-fail-assert-equal-derivations.err.exp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-assert-equal-derivations.err.exp b/test/testdata/eval-fail-assert-equal-derivations.err.exp new file mode 100644 index 0000000..d7f0fac --- /dev/null +++ b/test/testdata/eval-fail-assert-equal-derivations.err.exp | |||
@@ -0,0 +1,26 @@ | |||
1 | error: | ||
2 | … while evaluating the condition of the assertion '({ foo = { ignored = (abort "not ignored"); outPath = "/nix/store/0"; type = "derivation"; }; } == { foo = { ignored = (abort "not ignored"); outPath = "/nix/store/1"; type = "derivation"; }; })' | ||
3 | at /pwd/lang/eval-fail-assert-equal-derivations.nix:1:1: | ||
4 | 1| assert | ||
5 | | ^ | ||
6 | 2| { foo = { type = "derivation"; outPath = "/nix/store/0"; ignored = abort "not ignored"; }; } | ||
7 | |||
8 | … while comparing attribute 'foo' | ||
9 | |||
10 | … where left hand side is | ||
11 | at /pwd/lang/eval-fail-assert-equal-derivations.nix:2:5: | ||
12 | 1| assert | ||
13 | 2| { foo = { type = "derivation"; outPath = "/nix/store/0"; ignored = abort "not ignored"; }; } | ||
14 | | ^ | ||
15 | 3| == | ||
16 | |||
17 | … where right hand side is | ||
18 | at /pwd/lang/eval-fail-assert-equal-derivations.nix:4:5: | ||
19 | 3| == | ||
20 | 4| { foo = { type = "derivation"; outPath = "/nix/store/1"; ignored = abort "not ignored"; }; }; | ||
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"' | ||