by coocood:
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. write a test method as following:
func TestPanic(t *testing.T){
panic("a")
t.Fail()
}
2. run "go test -v"
What is the expected output?
report "--- Fail:"
What do you see instead?
report "--- PASS:"
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
windows 7 sp1
Which version are you using? (run 'go version')
devel +ff83e39f1348