diff options
Diffstat (limited to 'test/testdata/eval-okay-flatten.nix')
-rw-r--r-- | test/testdata/eval-okay-flatten.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-flatten.nix b/test/testdata/eval-okay-flatten.nix new file mode 100644 index 0000000..fe911e9 --- /dev/null +++ b/test/testdata/eval-okay-flatten.nix | |||
@@ -0,0 +1,8 @@ | |||
1 | with import ./lib.nix; | ||
2 | |||
3 | let { | ||
4 | |||
5 | l = ["1" "2" ["3" ["4"] ["5" "6"]] "7"]; | ||
6 | |||
7 | body = concat (flatten l); | ||
8 | } | ||