Commit c44f95ff authored by Kai Backman's avatar Kai Backman

fix build

R=rsc
CC=golang-dev
https://golang.org/cl/1913042
parent 8d76a151
......@@ -159,11 +159,11 @@ func main() {
}
fmt.Printf("%s: expected no error; got %q\n", t.name, err)
case t.err != "" && err != "":
if strings.Index(err, t.err) < 0 {
if !bad {
bad = true
fmt.Printf("BUG\n")
}
if strings.Index(err, t.err) < 0 {
fmt.Printf("%s: expected %q; got %q\n", t.name, t.err, err)
continue
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment