summaryrefslogtreecommitdiff
path: root/test/chan
diff options
context:
space:
mode:
Diffstat (limited to 'test/chan')
-rw-r--r--test/chan/select3.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/chan/select3.go b/test/chan/select3.go
index d919de3e0..fd881c90e 100644
--- a/test/chan/select3.go
+++ b/test/chan/select3.go
@@ -197,13 +197,13 @@ func main() {
})
testBlock(never, func() {
select {
- case x := <-closedch:
+ case x := (<-closedch):
_ = x
}
})
testBlock(never, func() {
select {
- case x, ok := <-closedch:
+ case x, ok := (<-closedch):
_, _ = x, ok
}
})