1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:44:43 -07:00
go/cmd/cover
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
..
testdata cmd/cover: do not cover statements after panic 2015-03-27 17:59:54 +00:00
cover_test.go go.tools/cmd/cover: fix build 2013-06-21 14:47:04 -07:00
cover.go cmd/cover: do not cover statements after panic 2015-03-27 17:59:54 +00:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00
func.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
html.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00