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 }