git » go-net » commit edd5b7d

http2: fix typos

author Mikio Hara
2016-04-11 10:08:00 UTC
committer Mikio Hara
2016-04-11 18:41:15 UTC
parent e4306e4093fed13c28d578412435288d5eeb8dd2

http2: fix typos

Change-Id: I88501fc0d84cdcb210bf53a373982c4e399f4c1f
Reviewed-on: https://go-review.googlesource.com/21832
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>

http2/http2_test.go +1 -1
http2/server_test.go +1 -1
http2/z_spec_test.go +1 -1

diff --git a/http2/http2_test.go b/http2/http2_test.go
index 34dcb13..549ff5e 100644
--- a/http2/http2_test.go
+++ b/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)
diff --git a/http2/server_test.go b/http2/server_test.go
index 2e6375d..15f980b 100644
--- a/http2/server_test.go
+++ b/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()
diff --git a/http2/z_spec_test.go b/http2/z_spec_test.go
index e0f420a..0590cfd 100644
--- a/http2/z_spec_test.go
+++ b/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)