diff options
| author | Martin Möhrmann <martisch@uos.de> | 2016-02-24 11:55:20 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-02-24 18:42:29 +0000 |
| commit | fdd0179bb1fdd70d405929b78c7d2fb6b61369b0 (patch) | |
| tree | 5dadc692c0e8ec767846f9dfc0fee73338d0b5b8 /src/encoding | |
| parent | 4feb47bc765d2cd7d774b0a28b06e8d81a1affe7 (diff) | |
| download | go-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.tar.xz | |
all: fix typos and spelling
Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913
Reviewed-on: https://go-review.googlesource.com/19829
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
| -rw-r--r-- | src/encoding/base32/base32_test.go | 2 | ||||
| -rw-r--r-- | src/encoding/base64/base64_test.go | 2 | ||||
| -rw-r--r-- | src/encoding/json/bench_test.go | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/encoding/base32/base32_test.go b/src/encoding/base32/base32_test.go index 5a68f06e1c..66a48a3f6f 100644 --- a/src/encoding/base32/base32_test.go +++ b/src/encoding/base32/base32_test.go @@ -171,7 +171,7 @@ func TestDecodeCorrupt(t *testing.T) { _, err := StdEncoding.Decode(dbuf, []byte(tc.input)) if tc.offset == -1 { if err != nil { - t.Error("Decoder wrongly detected coruption in", tc.input) + t.Error("Decoder wrongly detected corruption in", tc.input) } continue } diff --git a/src/encoding/base64/base64_test.go b/src/encoding/base64/base64_test.go index fc6a1ea654..eebf113212 100644 --- a/src/encoding/base64/base64_test.go +++ b/src/encoding/base64/base64_test.go @@ -221,7 +221,7 @@ func TestDecodeCorrupt(t *testing.T) { _, err := StdEncoding.Decode(dbuf, []byte(tc.input)) if tc.offset == -1 { if err != nil { - t.Error("Decoder wrongly detected coruption in", tc.input) + t.Error("Decoder wrongly detected corruption in", tc.input) } continue } diff --git a/src/encoding/json/bench_test.go b/src/encoding/json/bench_test.go index ed89d1156e..8a514e58cd 100644 --- a/src/encoding/json/bench_test.go +++ b/src/encoding/json/bench_test.go @@ -158,7 +158,7 @@ func BenchmarkCodeUnmarshal(b *testing.B) { for i := 0; i < b.N; i++ { var r codeResponse if err := Unmarshal(codeJSON, &r); err != nil { - b.Fatal("Unmmarshal:", err) + b.Fatal("Unmarshal:", err) } } b.SetBytes(int64(len(codeJSON))) @@ -173,7 +173,7 @@ func BenchmarkCodeUnmarshalReuse(b *testing.B) { var r codeResponse for i := 0; i < b.N; i++ { if err := Unmarshal(codeJSON, &r); err != nil { - b.Fatal("Unmmarshal:", err) + b.Fatal("Unmarshal:", err) } } } |
