1
0
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:
uropek 2018-10-04 02:31:24 +03:00
parent 1961d8d72a
commit 429dad0ceb
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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.