mirror of
https://github.com/soheilhy/cmux.git
synced 2024-11-09 19:21:52 +08:00
vet: buffer_test.go:65: possible formatting directive in Fatal call
This commit is contained in:
parent
345ba38c5f
commit
05566d752e
@ -62,7 +62,7 @@ func TestBufferOffset(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if n != 2 {
|
||||
t.Fatal("cannot read the bytes: want=%d got=%d", 2, n)
|
||||
t.Fatalf("cannot read the bytes: want=%d got=%d", 2, n)
|
||||
}
|
||||
if !bytes.Equal(readBytes, writeBytes[i*2:i*2+2]) {
|
||||
t.Fatalf("different bytes read: want=%s got=%s",
|
||||
|
Loading…
Reference in New Issue
Block a user