aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue25958.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue25958.go')
-rw-r--r--test/fixedbugs/issue25958.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/issue25958.go b/test/fixedbugs/issue25958.go
index ba7ee82230..90fcee15fd 100644
--- a/test/fixedbugs/issue25958.go
+++ b/test/fixedbugs/issue25958.go
@@ -11,7 +11,7 @@ package p
func f(done chan struct{}) {
select {
- case done: // ERROR "must be receive", "not used"
- case (chan struct{})(done): // ERROR "must be receive"
+ case done: // ERROR "must be receive|expected .*<-.* or .*=" "not used"
+ case (chan struct{})(done): // ERROR "must be receive|expected .*<-.* or .*="
}
}