Commit f01ecb60 authored by Tobias Klauser's avatar Tobias Klauser Committed by Brad Fitzpatrick

http2: fix format argument warnings in tests

Fix two format argument warnings found by vet.

Change-Id: I01d55197c110c2a7486b1bd5dbd0afd74812e535
Reviewed-on: https://go-review.googlesource.com/48090Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 054b33e6
......@@ -9,7 +9,7 @@ import "testing"
func TestIsBadCipherBad(t *testing.T) {
for _, c := range badCiphers {
if !isBadCipher(c) {
t.Errorf("Wrong result for isBadCipher(%d), want true")
t.Errorf("Wrong result for isBadCipher(%d), want true", c)
}
}
}
......
......@@ -286,7 +286,7 @@ func (st *serverTester) greetAndCheckSettings(checkSetting func(s Setting) error
case *WindowUpdateFrame:
if f.FrameHeader.StreamID != 0 {
st.t.Fatalf("WindowUpdate StreamID = %d; want 0", f.FrameHeader.StreamID, 0)
st.t.Fatalf("WindowUpdate StreamID = %d; want 0", f.FrameHeader.StreamID)
}
incr := uint32((&Server{}).initialConnRecvWindowSize() - initialWindowSize)
if f.Increment != incr {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment