commit | 1e856cbfdf9bc25eefca75f83f25d55e35ae72e0 | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Mon Jun 08 19:09:00 2015 +0200 |
committer | Adam Langley <agl@golang.org> | Mon Jun 08 19:52:49 2015 +0000 |
tree | 8bfce3cf4b2e2619ede01c5a774a9a1520dd832e | |
parent | 7ac880de98a1cdadc49f14422a09dec4b47be44e [diff] [blame] |
crypto/ssh: fix format string error in test. Change-Id: I0c84f11fb74ee478617deb1b743a759c9f789101 Reviewed-on: https://go-review.googlesource.com/10822 Reviewed-by: Adam Langley <agl@golang.org>
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 @@ } 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 }