aboutsummaryrefslogtreecommitdiff
path: root/test/typeswitch3.go
diff options
context:
space:
mode:
authoruropek <uropek@gmail.com>2018-10-03 23:52:49 +0000
committerIan Lance Taylor <iant@golang.org>2018-10-04 00:49:49 +0000
commitf1973f3164e5b570b8601c18fa484be7e97171f4 (patch)
tree5450a62dffadbc8e8175ba87be3eb09a9947206d /test/typeswitch3.go
parent0e4c013b6743507ebce2c08991cf1e3ab49cf7ac (diff)
downloadgo-f1973f3164e5b570b8601c18fa484be7e97171f4.tar.gz
go-f1973f3164e5b570b8601c18fa484be7e97171f4.zip
test: fix spelling of `caught be the compiler` to `caught by the compiler`
Change-Id: Id21cdce35963dcdb96cc06252170590224c5aa17 GitHub-Last-Rev: 429dad0ceba123415af308179d0d2aa9773e6323 GitHub-Pull-Request: golang/go#28000 Reviewed-on: https://go-review.googlesource.com/c/139424 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'test/typeswitch3.go')
-rw-r--r--test/typeswitch3.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeswitch3.go b/test/typeswitch3.go
index 58d4cba2d0..1388187566 100644
--- a/test/typeswitch3.go
+++ b/test/typeswitch3.go
@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Verify that erroneous type switches are caught be the compiler.
+// Verify that erroneous type switches are caught by the compiler.
// Issue 2700, among other things.
// Does not compile.