diff options
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-okay-partition.nix')
-rw-r--r-- | third_party/nix/src/tests/lang/eval-okay-partition.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-okay-partition.nix b/third_party/nix/src/tests/lang/eval-okay-partition.nix new file mode 100644 index 000000000000..846d2ce49486 --- /dev/null +++ b/third_party/nix/src/tests/lang/eval-okay-partition.nix @@ -0,0 +1,5 @@ +with import ./lib.nix; + +builtins.partition + (x: x / 2 * 2 == x) + (builtins.concatLists [ (range 0 10) (range 100 110) ]) |