Commit 1f523e25 authored by Robert Hencke's avatar Robert Hencke Committed by David Symonds

websocket: fix incorrect prints found by govet

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4963059
parent 8ede0a67
......@@ -110,7 +110,7 @@ func TestCount(t *testing.T) {
t.Errorf("Read: %v", err)
}
if count.N != 1 {
t.Errorf("count: expected 1 got %q", 1, count.N)
t.Errorf("count: expected %d got %d", 1, count.N)
}
if count.S != "hello" {
t.Errorf("count: expected %q got %q", "hello", count.S)
......@@ -122,7 +122,7 @@ func TestCount(t *testing.T) {
t.Errorf("Read: %v", err)
}
if count.N != 2 {
t.Errorf("count: expected 1 got %q", 2, count.N)
t.Errorf("count: expected %d got %d", 2, count.N)
}
if count.S != "hellohello" {
t.Errorf("count: expected %q got %q", "hellohello", count.S)
......
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