mirror of
https://github.com/golang/go
synced 2024-11-11 21:20:21 -07: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
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// 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.
|
// Does not compile.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// 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.
|
// Issue 2700, among other things.
|
||||||
// Does not compile.
|
// Does not compile.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user