From: uropek Date: Wed, 3 Oct 2018 23:52:49 +0000 (+0000) Subject: test: fix spelling of `caught be the compiler` to `caught by the compiler` X-Git-Tag: go1.12beta1~903 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f1973f3164e5b570b8601c18fa484be7e97171f4;p=gostls13.git test: fix spelling of `caught be the compiler` to `caught by the compiler` 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 --- 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.