mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
test: fix build (update for new error message)
R=golang-dev CC=golang-dev https://golang.org/cl/13521044
This commit is contained in:
parent
b7a609b660
commit
17e5539f7d
|
@ -10,8 +10,8 @@ var c chan int
|
|||
var v int
|
||||
|
||||
func main() {
|
||||
if c <- v { // ERROR "send statement.*value.*select"
|
||||
if c <- v { // ERROR "used as value"
|
||||
}
|
||||
}
|
||||
|
||||
var _ = c <- v // ERROR "send statement.*value.*select"
|
||||
var _ = c <- v // ERROR "used as value"
|
||||
|
|
Loading…
Reference in a new issue