mirror of
https://github.com/golang/go
synced 2025-05-22 05:48:03 +00:00
test: ensure all failing tests exit nonzero.
Previously merely printing an error would cause the golden file comparison (in 'bash run') to fail, but that is no longer the case with the new run.go driver. R=iant CC=golang-dev https://golang.org/cl/7310087
This commit is contained in:
@ -115,7 +115,7 @@ func chantest() {
|
||||
})
|
||||
shouldBlock(func() {
|
||||
x, ok := <-ch
|
||||
println(x, ok)
|
||||
println(x, ok) // unreachable
|
||||
})
|
||||
|
||||
if len(ch) != 0 {
|
||||
|
Reference in New Issue
Block a user