diff options
Diffstat (limited to 'tests/lang/eval-okay-hashstring.nix')
-rw-r--r-- | tests/lang/eval-okay-hashstring.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-hashstring.nix b/tests/lang/eval-okay-hashstring.nix new file mode 100644 index 000000000000..b0f62b245ca8 --- /dev/null +++ b/tests/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"]) |