Update ristretto255_test.go

Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
This commit is contained in:
Filippo Valsorda 2019-04-19 13:20:22 -07:00 committed by Henry de Valence
parent ef9acd2bbd
commit 5140be0fdf
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ func TestRistrettoSmallMultiplesTestVectors(t *testing.T) {
decodedPoint := Element{}
err = decodedPoint.Decode(encoding)
if err != nil {
t.Error("Could not decode test vector")
t.Fatalf("#%d: could not decode test vector: %v", i, err)
}
// Re-encode and check round trips
roundtripEncoding := decodedPoint.Encode(nil)