From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-okay-any-all.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/testdata/eval-okay-any-all.nix (limited to 'test/testdata/eval-okay-any-all.nix') diff --git a/test/testdata/eval-okay-any-all.nix b/test/testdata/eval-okay-any-all.nix new file mode 100644 index 0000000..a3f26ea --- /dev/null +++ b/test/testdata/eval-okay-any-all.nix @@ -0,0 +1,11 @@ +with builtins; + +[ (any (x: x == 1) []) + (any (x: x == 1) [2 3 4]) + (any (x: x == 1) [1 2 3 4]) + (any (x: x == 1) [4 3 2 1]) + (all (x: x == 1) []) + (all (x: x == 1) [1]) + (all (x: x == 1) [1 2 3]) + (all (x: x == 1) [1 1 1]) +] -- cgit v1.2.3