diff options
Diffstat (limited to 'test/testdata/eval-okay-elem.nix')
-rw-r--r-- | test/testdata/eval-okay-elem.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-elem.nix b/test/testdata/eval-okay-elem.nix new file mode 100644 index 0000000..71ea7a4 --- /dev/null +++ b/test/testdata/eval-okay-elem.nix | |||
@@ -0,0 +1,6 @@ | |||
1 | with import ./lib.nix; | ||
2 | |||
3 | let xs = range 10 40; in | ||
4 | |||
5 | [ (builtins.elem 23 xs) (builtins.elem 42 xs) (builtins.elemAt xs 20) ] | ||
6 | |||