diff options
author | Rob Pike <r@golang.org> | 2013-08-19 12:05:33 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2013-08-19 12:05:33 +1000 |
commit | a8fe176156b02011cc6628cb3602acaa6cb50236 (patch) | |
tree | ab8352768e099df76fdf534be143ab8880cb940d /test/syntax | |
parent | f316a7ea87c192c62868331540db3ecc2fb2c08b (diff) | |
download | go-a8fe176156b02011cc6628cb3602acaa6cb50236.tar.gz go-a8fe176156b02011cc6628cb3602acaa6cb50236.zip |
test: fix build
syntax/*: update messages
sliceerr3.go: bizarre new error fixed by deleting a space.
I could have sworn I ran all.bash before submitting the CL that triggered these.
TBR=golang-dev@googlegroups.com
R=golang-dev
CC=golang-dev
https://golang.org/cl/12812044
Diffstat (limited to 'test/syntax')
-rw-r--r-- | test/syntax/semi1.go | 2 | ||||
-rw-r--r-- | test/syntax/semi2.go | 2 | ||||
-rw-r--r-- | test/syntax/semi3.go | 2 | ||||
-rw-r--r-- | test/syntax/semi4.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/syntax/semi1.go b/test/syntax/semi1.go index 8fbfb206ad..cc30f26546 100644 --- a/test/syntax/semi1.go +++ b/test/syntax/semi1.go @@ -7,7 +7,7 @@ package main func main() { - if x; y // ERROR "unexpected semicolon or newline before .?{.?|undefined" + if x; y // ERROR "missing { after if clause|undefined" { z // GCCGO_ERROR "undefined" diff --git a/test/syntax/semi2.go b/test/syntax/semi2.go index cfb0ed17b7..61b8bf6d4f 100644 --- a/test/syntax/semi2.go +++ b/test/syntax/semi2.go @@ -7,7 +7,7 @@ package main func main() { - switch x; y // ERROR "unexpected semicolon or newline before .?{.?|undefined" + switch x; y // ERROR "missing { after switch clause|undefined" { z diff --git a/test/syntax/semi3.go b/test/syntax/semi3.go index 645af7354a..bb87520c52 100644 --- a/test/syntax/semi3.go +++ b/test/syntax/semi3.go @@ -7,7 +7,7 @@ package main func main() { - for x; y; z // ERROR "unexpected semicolon or newline before .?{.?|undefined" + for x; y; z // ERROR "missing { after for clause|undefined" { z // GCCGO_ERROR "undefined" diff --git a/test/syntax/semi4.go b/test/syntax/semi4.go index e192348aa2..00fa3f575f 100644 --- a/test/syntax/semi4.go +++ b/test/syntax/semi4.go @@ -8,7 +8,7 @@ package main func main() { for x // GCCGO_ERROR "undefined" - { // ERROR "unexpected semicolon or newline before .?{.?" + { // ERROR "missing { after for clause" z // GCCGO_ERROR "undefined" |