Browse Source

http2: fix typos

Change-Id: I88501fc0d84cdcb210bf53a373982c4e399f4c1f
Reviewed-on: https://go-review.googlesource.com/21832
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Mikio Hara 9 years ago
parent
commit
edd5b7d9bd
3 changed files with 3 additions and 3 deletions
  1. 1 1
      http2/http2_test.go
  2. 1 1
      http2/server_test.go
  3. 1 1
      http2/z_spec_test.go

+ 1 - 1
http2/http2_test.go

@@ -65,7 +65,7 @@ func (w twriter) Write(p []byte) (n int, err error) {
 	return len(p), nil
 }
 
-// like encodeHeader, but don't add implicit psuedo headers.
+// like encodeHeader, but don't add implicit pseudo headers.
 func encodeHeaderNoImplicit(t *testing.T, headers ...string) []byte {
 	var buf bytes.Buffer
 	enc := hpack.NewEncoder(&buf)

+ 1 - 1
http2/server_test.go

@@ -188,7 +188,7 @@ func (st *serverTester) loopNum() int {
 
 // awaitIdle heuristically awaits for the server conn's select loop to be idle.
 // The heuristic is that the server connection's serve loop must schedule
-// 50 times in a row without any channel sends or receives occuring.
+// 50 times in a row without any channel sends or receives occurring.
 func (st *serverTester) awaitIdle() {
 	remain := 50
 	last := st.loopNum()

+ 1 - 1
http2/z_spec_test.go

@@ -37,7 +37,7 @@ func loadSpec() {
 }
 
 // covers marks all sentences for section sec in defaultSpecCoverage. Sentences not
-// "covered" will be included in report outputed by TestSpecCoverage.
+// "covered" will be included in report outputted by TestSpecCoverage.
 func covers(sec, sentences string) {
 	loadSpecOnce.Do(loadSpec)
 	defaultSpecCoverage.cover(sec, sentences)