From fe9b4d0a2a98f843b8b43a92e9fa9cdda298ae13 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Fri, 19 Apr 2019 13:19:50 -0700 Subject: [PATCH] Update ristretto255_test.go Co-Authored-By: hdevalence --- ristretto255_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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