diff --git a/call_test.go b/call_test.go index 0a224f06..7e7f743b 100644 --- a/call_test.go +++ b/call_test.go @@ -122,7 +122,7 @@ func newTestServer() *server { return &server{startedErr: make(chan error, 1)} } -// start starts server. Other goroutines should block on s.startedErr for futher operations. +// start starts server. Other goroutines should block on s.startedErr for further operations. func (s *server) start(t *testing.T, port int, maxStreams uint32) { var err error if port == 0 { diff --git a/clientconn.go b/clientconn.go index 15d7af6c..e2264236 100644 --- a/clientconn.go +++ b/clientconn.go @@ -52,10 +52,10 @@ var ( // ErrUnspecTarget indicates that the target address is unspecified. ErrUnspecTarget = errors.New("grpc: target is unspecified") // ErrNoTransportSecurity indicates that there is no transport security - // being set for ClientConn. Users should either set one or explicityly + // being set for ClientConn. Users should either set one or explicitly // call WithInsecure DialOption to disable security. ErrNoTransportSecurity = errors.New("grpc: no transport security set (use grpc.WithInsecure() explicitly or set credentials)") - // ErrCredentialsMisuse indicates that users want to transmit security infomation + // ErrCredentialsMisuse indicates that users want to transmit security information // (e.g., oauth2 token) which requires secure connection on an insecure // connection. ErrCredentialsMisuse = errors.New("grpc: the credentials require transport level security (use grpc.WithTransportAuthenticator() to set)") diff --git a/test/end2end_test.go b/test/end2end_test.go index 86c921fc..8b64234b 100644 --- a/test/end2end_test.go +++ b/test/end2end_test.go @@ -333,7 +333,7 @@ func TestReconnectTimeout(t *testing.T) { return } }() - // Block untill reconnect times out. + // Block until reconnect times out. <-waitC if err := conn.Close(); err != grpc.ErrClientConnClosing { t.Fatalf("%v.Close() = %v, want %v", conn, err, grpc.ErrClientConnClosing) diff --git a/transport/handler_server.go b/transport/handler_server.go index 63ba0537..d7e18a0b 100644 --- a/transport/handler_server.go +++ b/transport/handler_server.go @@ -118,7 +118,7 @@ func NewServerHandlerTransport(w http.ResponseWriter, r *http.Request) (ServerTr // serverHandlerTransport is an implementation of ServerTransport // which replies to exactly one gRPC request (exactly one HTTP request), -// using the net/http.Handler interface. This http.Handler is guranteed +// using the net/http.Handler interface. This http.Handler is guaranteed // at this point to be speaking over HTTP/2, so it's able to speak valid // gRPC. type serverHandlerTransport struct { diff --git a/transport/transport_test.go b/transport/transport_test.go index b8655c02..a05b3ac8 100644 --- a/transport/transport_test.go +++ b/transport/transport_test.go @@ -134,7 +134,7 @@ func (h *testStreamHandler) handleStreamMalformedStatus(t *testing.T, s *Stream) h.t.WriteStatus(s, codes.Internal, "\n") } -// start starts server. Other goroutines should block on s.readyChan for futher operations. +// start starts server. Other goroutines should block on s.readyChan for further operations. func (s *server) start(t *testing.T, port int, maxStreams uint32, ht hType) { var err error if port == 0 {