From 1e856cbfdf9bc25eefca75f83f25d55e35ae72e0 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 8 Jun 2015 19:09:00 +0200 Subject: [PATCH] crypto/ssh: fix format string error in test. Change-Id: I0c84f11fb74ee478617deb1b743a759c9f789101 Reviewed-on: https://go-review.googlesource.com/10822 Reviewed-by: Adam Langley --- ssh/cipher_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/cipher_test.go b/ssh/cipher_test.go index d67a93a..54b92b6 100644 --- a/ssh/cipher_test.go +++ b/ssh/cipher_test.go @@ -120,7 +120,7 @@ func TestCBCOracleCounterMeasure(t *testing.T) { } if i > 0 && bytesRead != lastRead { - t.Errorf("corrupt byte %d: want %d, got %d bytes read", bytesRead, lastRead) + t.Errorf("corrupt byte %d: read %d bytes, want %d bytes read", i, bytesRead, lastRead) } lastRead = bytesRead }