diff options
Diffstat (limited to 'tests/functional/lang/eval-okay-hashstring.nix')
-rw-r--r-- | tests/functional/lang/eval-okay-hashstring.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-hashstring.nix b/tests/functional/lang/eval-okay-hashstring.nix new file mode 100644 index 000000000..b0f62b245 --- /dev/null +++ b/tests/functional/lang/eval-okay-hashstring.nix @@ -0,0 +1,4 @@ +let + strings = [ "" "text 1" "text 2" ]; +in + builtins.concatLists (map (hash: map (builtins.hashString hash) strings) ["md5" "sha1" "sha256" "sha512"]) |