summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug349.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug349.go')
-rw-r--r--test/fixedbugs/bug349.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug349.go b/test/fixedbugs/bug349.go
index 07005973e..a3e6bd161 100644
--- a/test/fixedbugs/bug349.go
+++ b/test/fixedbugs/bug349.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
@@ -9,5 +9,5 @@
package main
func foo() (a, b, c int) {
- return 0, 1 2.01 // ERROR "unexpected literal 2.01"
+ return 0, 1 2.01 // ERROR "unexpected literal 2.01|expected ';' or '}' or newline|not enough arguments to return"
}