commit | 17e5539f7d3e17e3c585b3c4e6d4448d7f953626 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Fri Sep 06 16:15:30 2013 -0400 |
committer | Russ Cox <rsc@golang.org> | Fri Sep 06 16:15:30 2013 -0400 |
tree | 60f69ed09122fab7b566aeb719bdee51d6bf319b | |
parent | b7a609b660a0d656b32a3a2a1e2e0e4420b7f049 [diff] [blame] |
test: fix build (update for new error message) R=golang-dev CC=golang-dev https://golang.org/cl/13521044
diff --git a/test/syntax/chan1.go b/test/syntax/chan1.go index 868a122..4860422a 100644 --- a/test/syntax/chan1.go +++ b/test/syntax/chan1.go
@@ -10,8 +10,8 @@ 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"