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