mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +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
2
tests/functional/lang/eval-fail-assert-equal-ints.nix
Normal file
2
tests/functional/lang/eval-fail-assert-equal-ints.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
assert { b = 1; } == { b = 2; };
|
||||
abort "unreachable"
|
Loading…
Add table
Add a link
Reference in a new issue