diff options
Diffstat (limited to 'test/testdata/eval-okay-groupBy.nix')
-rw-r--r-- | test/testdata/eval-okay-groupBy.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-groupBy.nix b/test/testdata/eval-okay-groupBy.nix new file mode 100644 index 0000000..862d89d --- /dev/null +++ b/test/testdata/eval-okay-groupBy.nix | |||
@@ -0,0 +1,5 @@ | |||
1 | with import ./lib.nix; | ||
2 | |||
3 | builtins.groupBy (n: | ||
4 | builtins.substring 0 1 (builtins.hashString "sha256" (toString n)) | ||
5 | ) (range 0 31) | ||