Skip to content

Commit fb8010e

Browse files
alexandeargopherbot
authored andcommitted
internal/web: fix typos in comments
Change-Id: I705e7f626e31cc42dbfa92a744195268beb5882f Reviewed-on: https://go-review.googlesource.com/c/website/+/622155 Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 423c921 commit fb8010e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/web/page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ var (
128128

129129
// parseMeta extracts top-of-file metadata from the file contents b.
130130
// If there is no metadata, parseMeta returns Page{}, b, nil.
131-
// Otherwise, the metdata is extracted, and parseMeta returns
131+
// Otherwise, the metadata is extracted, and parseMeta returns
132132
// the metadata and the remainder of the file.
133133
// The end of the metadata is overwritten in b to preserve
134134
// the correct number of newlines so that the line numbers in tail

internal/webtest/webtest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ import (
164164
)
165165

166166
// HandlerWithCheck returns an http.Handler that responds to each request
167-
// by running the test script files mached by glob against the handler h.
167+
// by running the test script files matched by glob against the handler h.
168168
// If the tests pass, the returned http.Handler responds with status code 200.
169169
// If they fail, it prints the details and responds with status code 503
170170
// (service unavailable).

0 commit comments

Comments
 (0)