Update ristretto255_test.go

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

View File

@ -146,7 +146,7 @@ func TestRistrettoSmallMultiplesTestVectors(t *testing.T) {
// Re-encode and check round trips
roundtripEncoding := decodedPoint.Encode(nil)
if !bytes.Equal(encoding, roundtripEncoding) {
t.Errorf("decode<>encode roundtrip failed on test vector %d", i)
t.Errorf("#%d: decode<>encode roundtrip failed", i)
}
// Check that the test vector encodes i * B