From 6735c1a97ff64f76f1f4f91dd858f14b8194ec04 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Wed, 20 Nov 2024 10:30:04 +0100 Subject: use testin.B.Logf --- nizk/vickrey_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nizk/vickrey_test.go') diff --git a/nizk/vickrey_test.go b/nizk/vickrey_test.go index a9b20dc..55c4dfa 100644 --- a/nizk/vickrey_test.go +++ b/nizk/vickrey_test.go @@ -1,7 +1,6 @@ package nizk import ( - "log" "math/rand" "slices" "strings" @@ -90,7 +89,7 @@ func runVickrey(n int, bitlength int, tb testing.TB) { s1 := x.String() s2 := z.String() if strings.HasPrefix(s1, s2[:len(s2)-2]) { - log.Printf("BUG! TODO! equal only by string") + tb.Logf("BUG! TODO! equal only by string") found = true } } -- cgit v1.2.3