diff --git a/ristretto255_test.go b/ristretto255_test.go index 5f7914e..b199c4b 100644 --- a/ristretto255_test.go +++ b/ristretto255_test.go @@ -134,7 +134,7 @@ func TestRistrettoSmallMultiplesTestVectors(t *testing.T) { // Grab the bytes of the encoding encoding, err := hex.DecodeString(testVectors[i]) if err != nil { - t.Error("Bad hex encoding in test vector") + t.Fatalf("#%d: bad hex encoding in test vector: %v", i, err) } // Decode the test vector to a ristretto255 element