From f1973f3164e5b570b8601c18fa484be7e97171f4 Mon Sep 17 00:00:00 2001 From: uropek Date: Wed, 3 Oct 2018 23:52:49 +0000 Subject: [PATCH] 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 --- test/typeswitch2.go | 2 +- test/typeswitch3.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/typeswitch2.go b/test/typeswitch2.go index 1160b62e140..5958b7db8eb 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 58d4cba2d0c..13881875667 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.