blob: ef63992b25e52c93b586752da7bb96dc1fd6b8da [file] [log] [blame]
package main
// Tests of channel 'peers' query, -format=json.
// See go.tools/guru/guru_test.go for explanation.
// See peers-json.golden for expected query results.
func main() {
chA := make(chan *int)
<-chA
select {
case <-chA: // @peers peer-recv-chA "<-"
}
}