Not only does coverage collection work as advertised now, but the test is less hacky, and the changes to the go-template code make it more flexible/less fragile and more powerful in general.
Coverage increased (+0.02%) to 95.279% when pulling 7fd3d533a9e3a0a0338f1d3ace76ce092ecc2212 on template-coverage into 3c1aa6ebc9e8e033a1d7cc16ea229c2d2d703641 on master.
Not only does coverage collection work as advertised now, but the test is less hacky, and the changes to the
go-template
code make it more flexible/less fragile and more powerful in general.