summaryrefslogtreecommitdiff
path: root/lib/crypto/test/sha512.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/test/sha512.myr')
-rw-r--r--lib/crypto/test/sha512.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/test/sha512.myr b/lib/crypto/test/sha512.myr
index cec12f8..46ef2ba 100644
--- a/lib/crypto/test/sha512.myr
+++ b/lib/crypto/test/sha512.myr
@@ -34,7 +34,7 @@ const hasheq = {got, expected
std.sbfmt(sb, "{p=0,w=2,x}", x)
;;
str = std.sbfin(sb)
- if (!std.sleq(str, expected))
+ if (!std.eq(str, expected))
std.fatal("mismatched hashes:\n\tgot:\t{}\n\texpected:\t{}\n", str, expected)
;;
std.slfree(str)