mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
assert: Report why values aren't equal
This commit is contained in:
parent
509be0e77a
commit
d63bd8295e
29 changed files with 532 additions and 5 deletions
6
tests/functional/lang/eval-fail-assert-nested-bool.nix
Normal file
6
tests/functional/lang/eval-fail-assert-nested-bool.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
assert
|
||||
{ a.b = [ { c.d = true; } ]; }
|
||||
==
|
||||
{ a.b = [ { c.d = false; } ]; };
|
||||
|
||||
abort "unreachable"
|
Loading…
Add table
Add a link
Reference in a new issue