client/pkg/transport: fix typo in _test.go

Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
Wei Fu 2022-11-27 22:10:06 +08:00
parent 8a88660262
commit cd9ade5403
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ func TestReadWriteTimeoutDialer(t *testing.T) {
}
if operr, ok := err.(*net.OpError); !ok || operr.Op != "read" || !operr.Timeout() {
t.Errorf("err = %v, want write i/o timeout error", err)
t.Errorf("err = %v, want read i/o timeout error", err)
}
}

View File

@ -112,7 +112,7 @@ func TestWriteReadTimeoutListener(t *testing.T) {
}
if operr, ok := err.(*net.OpError); !ok || operr.Op != "read" || !operr.Timeout() {
t.Errorf("err = %v, want write i/o timeout error", err)
t.Errorf("err = %v, want read i/o timeout error", err)
}
readerStopCh <- struct{}{}
}