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/slice3err.go | |
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/slice3err.go')
-rw-r--r-- | test/slice3err.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/slice3err.go b/test/slice3err.go index c48ebfeaee..906b007035 100644 --- a/test/slice3err.go +++ b/test/slice3err.go @@ -20,7 +20,7 @@ func f() { _ = array[::] // ERROR "middle index required in 3-index slice" "final index required in 3-index slice" _ = array[i::] // ERROR "middle index required in 3-index slice" "final index required in 3-index slice" _ = array[:j:] // ERROR "final index required in 3-index slice" - _ = array[i:j:] // ERROR "final index required in 3-index slice" + _ = array[i:j:] // ERROR "final index required in 3-index slice" _ = array[::k] // ERROR "middle index required in 3-index slice" _ = array[i::k] // ERROR "middle index required in 3-index slice" _ = array[:j:k] |