mirror of
https://github.com/golang/go
synced 2024-09-23 21:20:13 -06:00
test: fix spelling of caught be the compiler
to caught by the compiler
This commit is contained in:
parent
1961d8d72a
commit
429dad0ceb
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user