diff options
Diffstat (limited to 'test/syntax/chan.go')
-rw-r--r-- | test/syntax/chan.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syntax/chan.go b/test/syntax/chan.go index 48beb1e70..ff3577502 100644 --- a/test/syntax/chan.go +++ b/test/syntax/chan.go @@ -8,9 +8,9 @@ package main type xyz struct { ch chan -} // ERROR "unexpected } in channel type" +} // ERROR "unexpected .*}.* in channel type" -func Foo(y chan) { // ERROR "unexpected \) in channel type" +func Foo(y chan) { // ERROR "unexpected .*\).* in channel type" } func Bar(x chan, y int) { // ERROR "unexpected comma in channel type" |