From c5cdda401e483a3a4dae7cc61eb78521ab953b04 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Tue, 7 Mar 2017 09:03:40 -0800 Subject: [PATCH] encoding/base64, html/template: fix grammar mistakes Replace 'does not contains' with 'does not contain' where it appears in the source code. Change-Id: Ie7266347c429512c8a41a7e19142afca7ead3922 Reviewed-on: https://go-review.googlesource.com/37887 Reviewed-by: Brad Fitzpatrick --- src/encoding/base64/base64.go | 2 +- src/html/template/escape_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/encoding/base64/base64.go b/src/encoding/base64/base64.go index be69271d19..5a384315f9 100644 --- a/src/encoding/base64/base64.go +++ b/src/encoding/base64/base64.go @@ -35,7 +35,7 @@ const encodeStd = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345678 const encodeURL = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" // NewEncoding returns a new padded Encoding defined by the given alphabet, -// which must be a 64-byte string that does not contains the padding character +// which must be a 64-byte string that does not contain the padding character // or CR / LF ('\r', '\n'). // The resulting Encoding uses the default padding character ('='), // which may be changed or disabled via WithPadding. diff --git a/src/html/template/escape_test.go b/src/html/template/escape_test.go index f6ace496e7..0c854c31a3 100644 --- a/src/html/template/escape_test.go +++ b/src/html/template/escape_test.go @@ -359,7 +359,7 @@ func TestEscape(t *testing.T) { { "styleStrEncodedProtocolEncoded", ``, - // The CSS string 'javascript\\3a alert(1337)' does not contains a colon. + // The CSS string 'javascript\\3a alert(1337)' does not contain a colon. ``, }, { -- 2.48.1