test(tvix/eval): verify pointer equality in list comparisons
Change-Id: I617d402c8ecc7aaf607c4bdcd58a06ebddb71fac Reviewed-on: https://cl.tvl.fyi/c/depot/+/7370 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: Adam Joseph <adam@westernsemico.com>
This commit is contained in:
parent
3b92ff454f
commit
7bab0c26ee
3 changed files with 8 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1,6 @@
|
|||
# For an explanation of this behavior see //tvix/docs/value-pointer-equality.md
|
||||
let
|
||||
f = owo: "thia";
|
||||
in
|
||||
|
||||
[ f 42 ] > [ f 21 ]
|
|
@ -54,6 +54,7 @@ let
|
|||
# Comparable lists are not in Nix 2.3
|
||||
"eval-okay-sort.nix" = [ nix ];
|
||||
"eval-okay-compare-lists.nix" = [ nix ];
|
||||
"eval-okay-value-pointer-compare.nix" = [ nix ];
|
||||
# getAttrPos gains support for functionArgs-returned sets after 2.3
|
||||
"eval-okay-getattrpos-functionargs.nix" = [ nix ];
|
||||
# groupBy appeared (long) after 2.3
|
||||
|
|
Loading…
Reference in a new issue