aboutsummaryrefslogtreecommitdiff
path: root/src/reflect
diff options
context:
space:
mode:
authorhopehook <hopehook.com@gmail.com>2022-08-10 06:52:22 +0800
committerGopher Robot <gobot@golang.org>2022-08-17 02:52:18 +0000
commit9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb (patch)
tree240f5007bae2c892188366063c317c922a253f5d /src/reflect
parente49e8764553bf510b5d9f6fb38aeec0850ec6672 (diff)
downloadgo-9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb.tar.xz
all: clean up unreachable Continue after Fatal
As CL 422214 did, this CL intends to clean up the rest unreachable "Continue" after Fatal. Change-Id: I3b7e1b59bdfccb185e20525ce113e241d277dad3 Reviewed-on: https://go-review.googlesource.com/c/go/+/422514 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: hopehook <hopehook@qq.com>
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/all_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/reflect/all_test.go b/src/reflect/all_test.go
index aa620bf0ee..3a360b6c71 100644
--- a/src/reflect/all_test.go
+++ b/src/reflect/all_test.go
@@ -1876,11 +1876,9 @@ func TestSelect(t *testing.T) {
recvStr = fmt.Sprintf(", received %v, %v", recv.Interface(), recvOK)
}
t.Fatalf("%s\nselected #%d incorrectly%s", fmtSelect(info), i, recvStr)
- continue
}
if cas.panic {
t.Fatalf("%s\nselected #%d incorrectly (case should panic)", fmtSelect(info), i)
- continue
}
if cases[i].Dir == SelectRecv {