summaryrefslogtreecommitdiff
path: root/lib/std/test
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/test')
-rw-r--r--lib/std/test/hashfuncs.myr6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/std/test/hashfuncs.myr b/lib/std/test/hashfuncs.myr
index 94313b0..f1684f9 100644
--- a/lib/std/test/hashfuncs.myr
+++ b/lib/std/test/hashfuncs.myr
@@ -108,10 +108,6 @@ const siphashreferencetestvector = {ctx
msg[i] = i
h = std.siphash24(msg[:i], key)
e = std.getle64(siphashtestvector[i][:])
- if e != h
- testr.fail(ctx, "wrong siphash value\n")
- else
- testr.ok(ctx)
- ;;
+ testr.check(ctx, e == h, "wrong siphash value for entry {}: got {x}\n", i, h)
;;
}