diff --git a/test/typeswitch2.go b/test/typeswitch2.go index 1160b62e14..5958b7db8e 100644 --- a/test/typeswitch2.go +++ b/test/typeswitch2.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 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 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.