err is not suitable

dev
MITSUNARI Shigeo 7 years ago
parent 5d4999f1e1
commit a4905ee7c3
  1. 5
      ffi/go/mcl/mcl_test.go

@ -26,9 +26,8 @@ func testGT(t *testing.T) {
func testHash(t *testing.T) {
var x Fr
err := x.SetHashOf([]byte("abc"))
if !err {
t.Error(err)
if !x.SetHashOf([]byte("abc")) {
t.Error("SetHashOf")
}
fmt.Printf("x=%s\n", x.GetString(16))
}

Loading…
Cancel
Save