summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug383.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug383.go')
-rw-r--r--test/fixedbugs/bug383.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fixedbugs/bug383.go b/test/fixedbugs/bug383.go
index 9dccff590..503779c37 100644
--- a/test/fixedbugs/bug383.go
+++ b/test/fixedbugs/bug383.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,6 +8,6 @@
package main
func main() {
- if 2e9 { } // ERROR "2e.09"
- if 3.14+1i { } // ERROR "3.14 . 1i"
-} \ No newline at end of file
+ if 2e9 { } // ERROR "2e.09|expected bool"
+ if 3.14+1i { } // ERROR "3.14 . 1i|expected bool"
+}