aboutsummaryrefslogtreecommitdiff
path: root/nizk/vickrey_test.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2024-11-20 10:30:04 +0100
committerÖzgür Kesim <oec@codeblau.de>2024-11-20 10:30:04 +0100
commit6735c1a97ff64f76f1f4f91dd858f14b8194ec04 (patch)
tree43eaa1c319dbfebe7dec5e7191f7d4063fd0ab4e /nizk/vickrey_test.go
parent16c727afc73c5f9790e61e5b193f3edb1ec113e3 (diff)
use testin.B.Logf
Diffstat (limited to 'nizk/vickrey_test.go')
-rw-r--r--nizk/vickrey_test.go3
1 files changed, 1 insertions, 2 deletions
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
}
}