diff options
Diffstat (limited to 'test/testdata/eval-okay-concatmap.nix')
-rw-r--r-- | test/testdata/eval-okay-concatmap.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-concatmap.nix b/test/testdata/eval-okay-concatmap.nix new file mode 100644 index 0000000..97da5d3 --- /dev/null +++ b/test/testdata/eval-okay-concatmap.nix | |||
@@ -0,0 +1,5 @@ | |||
1 | with import ./lib.nix; | ||
2 | |||
3 | [ (builtins.concatMap (x: if x / 2 * 2 == x then [] else [ x ]) (range 0 10)) | ||
4 | (builtins.concatMap (x: [x] ++ ["z"]) ["a" "b"]) | ||
5 | ] | ||