mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
* TDD: == should do a deep equality test, i.e., it should strictly
evaluate its arguments.
This commit is contained in:
parent
3151bdea55
commit
dce1afdc67
2 changed files with 4 additions and 0 deletions
1
tests/lang/eval-okay-eq.exp
Normal file
1
tests/lang/eval-okay-eq.exp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Bool(True)
|
3
tests/lang/eval-okay-eq.nix
Normal file
3
tests/lang/eval-okay-eq.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
["foobar" (rec {x = 1; y = x;})]
|
||||||
|
==
|
||||||
|
[("foo" + "bar") ({x = 1; y = 1;})]
|
Loading…
Reference in a new issue