aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-assert-nested-bool.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-assert-nested-bool.err.exp')
-rw-r--r--test/testdata/eval-fail-assert-nested-bool.err.exp74
1 files changed, 74 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-assert-nested-bool.err.exp b/test/testdata/eval-fail-assert-nested-bool.err.exp
new file mode 100644
index 0000000..1debb66
--- /dev/null
+++ b/test/testdata/eval-fail-assert-nested-bool.err.exp
@@ -0,0 +1,74 @@
1error:
2 … while evaluating the condition of the assertion '({ a = { b = [ ({ c = { d = true; }; }) ]; }; } == { a = { b = [ ({ c = { d = false; }; }) ]; }; })'
3 at /pwd/lang/eval-fail-assert-nested-bool.nix:1:1:
4 1| assert
5 | ^
6 2| { a.b = [ { c.d = true; } ]; }
7
8 … while comparing attribute 'a'
9
10 … where left hand side is
11 at /pwd/lang/eval-fail-assert-nested-bool.nix:2:5:
12 1| assert
13 2| { a.b = [ { c.d = true; } ]; }
14 | ^
15 3| ==
16
17 … where right hand side is
18 at /pwd/lang/eval-fail-assert-nested-bool.nix:4:5:
19 3| ==
20 4| { a.b = [ { c.d = false; } ]; };
21 | ^
22 5|
23
24 … while comparing attribute 'b'
25
26 … where left hand side is
27 at /pwd/lang/eval-fail-assert-nested-bool.nix:2:5:
28 1| assert
29 2| { a.b = [ { c.d = true; } ]; }
30 | ^
31 3| ==
32
33 … where right hand side is
34 at /pwd/lang/eval-fail-assert-nested-bool.nix:4:5:
35 3| ==
36 4| { a.b = [ { c.d = false; } ]; };
37 | ^
38 5|
39
40 … while comparing list element 0
41
42 … while comparing attribute 'c'
43
44 … where left hand side is
45 at /pwd/lang/eval-fail-assert-nested-bool.nix:2:15:
46 1| assert
47 2| { a.b = [ { c.d = true; } ]; }
48 | ^
49 3| ==
50
51 … where right hand side is
52 at /pwd/lang/eval-fail-assert-nested-bool.nix:4:15:
53 3| ==
54 4| { a.b = [ { c.d = false; } ]; };
55 | ^
56 5|
57
58 … while comparing attribute 'd'
59
60 … where left hand side is
61 at /pwd/lang/eval-fail-assert-nested-bool.nix:2:15:
62 1| assert
63 2| { a.b = [ { c.d = true; } ]; }
64 | ^
65 3| ==
66
67 … where right hand side is
68 at /pwd/lang/eval-fail-assert-nested-bool.nix:4:15:
69 3| ==
70 4| { a.b = [ { c.d = false; } ]; };
71 | ^
72 5|
73
74 error: boolean 'true' is not equal to boolean 'false'