@@ -82,7 +82,7 @@ func jsonG1HashToCurve(t *testing.T, fname string) {
8282 for _ , v := range vectorsArr {
8383 testMap , ok := v .(map [string ]interface {})
8484 if ! ok {
85- t .Errorf ("Could not cast vector to map" )
85+ t .Error ("Could not cast vector to map" )
8686 }
8787
8888 msg := []byte (testMap ["msg" ].(string ))
@@ -95,7 +95,7 @@ func jsonG1HashToCurve(t *testing.T, fname string) {
9595 }
9696
9797 if ! p1Hashed .Equals (p1Expected ) {
98- t .Errorf ("hashed != expected" )
98+ t .Error ("hashed != expected" )
9999 }
100100 }
101101}
@@ -162,7 +162,7 @@ func jsonG2HashToCurve(t *testing.T, fname string) {
162162 for _ , v := range vectorsArr {
163163 testMap , ok := v .(map [string ]interface {})
164164 if ! ok {
165- t .Errorf ("Could not cast vector to map" )
165+ t .Error ("Could not cast vector to map" )
166166 }
167167
168168 msg := []byte (testMap ["msg" ].(string ))
@@ -175,7 +175,7 @@ func jsonG2HashToCurve(t *testing.T, fname string) {
175175 }
176176
177177 if ! p2Hashed .Equals (p2Expected ) {
178- t .Errorf ("hashed != expected" )
178+ t .Error ("hashed != expected" )
179179 }
180180 }
181181}
0 commit comments