I did a pass through all files, fixing bits that have annoyed me here and there based on vibes. Roughly: - Replaced some out values like bools or strings with lists where appropriate. Those tests were likely older than the value printer - Added some parser tests where it makes sense - Gently touched some formatting woes, while trying to not cause too much diff noise - Removed some dead `with (import ./lib.nix);` code Change-Id: I8c40b2110f0b7799f68ae38ba61f049c5f1f6ee8
10 lines
198 B
Nix
10 lines
198 B
Nix
# See also the "arithmetic" tests
|
|
[
|
|
(builtins.add 2 3)
|
|
(builtins.add 2 2)
|
|
(builtins.typeOf (builtins.add 2 2))
|
|
("t" + "t")
|
|
(builtins.typeOf (builtins.add 2.0 2))
|
|
(builtins.add 2.0 2)
|
|
]
|