1
0
mirror of https://github.com/golang/go synced 2024-11-19 06:54:39 -07:00
go/cmd/cover/testdata
Rob Pike e77366c32d cmd/cover: do not cover statements after panic
Given
	x()
	panic(1)
	y()

the y should not show as covered.

Fixes #10185

Change-Id: Iec61f1b096a888e6727be5f4526508654f5d3c91
Reviewed-on: https://go-review.googlesource.com/8140
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-03-27 17:59:54 +00:00
..
main.go cmd/cover: do not cover statements after panic 2015-03-27 17:59:54 +00:00
test.go cmd/cover: do not cover statements after panic 2015-03-27 17:59:54 +00:00