summaryrefslogtreecommitdiff
path: root/test/syntax/else.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/syntax/else.go')
-rw-r--r--test/syntax/else.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syntax/else.go b/test/syntax/else.go
index 186d5959a..e985a9c09 100644
--- a/test/syntax/else.go
+++ b/test/syntax/else.go
@@ -1,4 +1,4 @@
-// errchk $G $D/$F.go
+// errorcheck
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
@@ -8,5 +8,5 @@ package main
func main() {
if true {
- } else ; // ERROR "else must be followed by if or statement block"
+ } else ; // ERROR "else must be followed by if or statement block|expected .if. or .{."
}