aboutsummaryrefslogtreecommitdiff
path: root/test/switch7.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2020-12-09 20:14:07 -0800
committerRobert Griesemer <gri@golang.org>2020-12-14 21:28:48 +0000
commit5aca6e78570c4a4826e500613b1bc054bc95142a (patch)
treefa1a4c7a687cd97cf4006002646b216315d10918 /test/switch7.go
parentdf58f3368e62fbc290b419f0b33b97a984b9ca19 (diff)
downloadgo-5aca6e78570c4a4826e500613b1bc054bc95142a.tar.gz
go-5aca6e78570c4a4826e500613b1bc054bc95142a.zip
[dev.typeparams] test: finish triaging all outstanding failing tests
Also: Adjusted error patterns for passing test that have different error messages. Change-Id: I216294b4c4855aa93da22cdc3c0b3303e54a8420 Reviewed-on: https://go-review.googlesource.com/c/go/+/277994 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'test/switch7.go')
-rw-r--r--test/switch7.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/switch7.go b/test/switch7.go
index 75060669b3..3fb0129b15 100644
--- a/test/switch7.go
+++ b/test/switch7.go
@@ -27,7 +27,7 @@ func f4(e interface{}) {
case struct {
i int "tag2"
}:
- case struct { // ERROR "duplicate case struct { i int .tag1. } in type switch"
+ case struct { // ERROR "duplicate case struct { i int .tag1. } in type switch|duplicate case"
i int "tag1"
}:
}