]> Cypherpunks repositories - gostls13.git/commitdiff
test: fix spelling of `caught be the compiler` to `caught by the compiler`
authoruropek <uropek@gmail.com>
Wed, 3 Oct 2018 23:52:49 +0000 (23:52 +0000)
committerIan Lance Taylor <iant@golang.org>
Thu, 4 Oct 2018 00:49:49 +0000 (00:49 +0000)
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>
test/typeswitch2.go
test/typeswitch3.go

index 1160b62e140fb72511f7f45ff3d37f05639c07de..5958b7db8ebd73d5e7b4f747236e6f3fd9a056c0 100644 (file)
@@ -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 various erroneous type switches are caught be the compiler.
+// Verify that various erroneous type switches are caught by the compiler.
 // Does not compile.
 
 package main
index 58d4cba2d0c8dac5af792a76ae77097c468d28e1..138818756672dac8f08aafe2e4aef28d39aedbc0 100644 (file)
@@ -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.