1
0
mirror of https://github.com/golang/go synced 2024-10-01 18:38:34 -06:00
go/cmd/cover/testdata
Rob Pike 26365e4e90 cmd/cover: fix handling of empty type switch
Just missed a case (ha!) in the tree walk. Dup the code for an empty switch, add test.

Fixes #10163.

Change-Id: I3d50ab6cb450ca21e87213291eaab8cbe924fac5
Reviewed-on: https://go-review.googlesource.com/7641
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-03-16 22:10:38 +00:00
..
main.go go.tools/cmd/cover: get cover counters on if conditions 2013-07-10 15:20:52 +10:00
test.go cmd/cover: fix handling of empty type switch 2015-03-16 22:10:38 +00:00