Skip to content

Commit

Permalink
make go1.10rc2 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldovich committed Feb 11, 2018
1 parent f7a2cbb commit 61495c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bn256/bn256_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func TestRandomG2(t *testing.T) {
_, g2, _ := RandomG2(rand.Reader)
po := new(twistPoint).Mul(g2.p, Order)
if !po.IsInfinity() {
t.Errorf("pt * Order is not infinity: %s", g2.p)
t.Errorf("pt * Order is not infinity: %v", g2.p)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion bn256/gfp2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func expectEqual(t *testing.T, a *fp2e, A *bn256ref.GFp2) {
t.Fatalf("got nil, want %s", A)
}
if a != nil && A == nil {
t.Fatalf("want nil, got %s", a)
t.Fatalf("want nil, got %v", a)
}
if a != nil && A != nil {
if !A.Eq(a.Ref()) {
Expand Down

0 comments on commit 61495c0

Please sign in to comment.