about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-lazy-equality.nix
blob: b0ec8593a468c0feb3f94c4f40feae8cffef1bb6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                          
let
  attrs1 = { x = 1 + 2; };
  attrs2 = { x = 2 + 1; };
  list1 = [ (1 + 2) ];
  list2 = [ (2 + 1) ];
  list3 = [ (2 + 2) ];
in [
  (attrs1 == attrs2)
  (list1 == list2)
  (list3 == list2)
]