aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-assert-equal-type-nested.err.exp
blob: f78badd25f245e3145090ff1e862c4a67e2a3393 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error:while evaluating the condition of the assertion '({ ding = false; } == { ding = null; })'
         at /pwd/lang/eval-fail-assert-equal-type-nested.nix:1:1:
            1| assert { ding = false; } == { ding = null; };
             | ^
            2| abort "unreachable"while comparing attribute 'ding'

       … where left hand side is
         at /pwd/lang/eval-fail-assert-equal-type-nested.nix:1:10:
            1| assert { ding = false; } == { ding = null; };
             |          ^
            2| abort "unreachable"

       … where right hand side is
         at /pwd/lang/eval-fail-assert-equal-type-nested.nix:1:31:
            1| assert { ding = false; } == { ding = null; };
             |                               ^
            2| abort "unreachable"

       error: a Boolean of value 'false' is not equal to null of value 'null'