File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pkg/testcoverage/coverage Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,22 +41,22 @@ func TestStripPrefix(t *testing.T) {
4141 {
4242 file : path .NormalizePath ("github.com/example/foo/bar.go" ),
4343 prefix : "github.com/example" ,
44- noPrefix : "foo/bar.go" ,
44+ noPrefix : path . NormalizePath ( "foo/bar.go" ) ,
4545 },
4646 {
4747 file : path .NormalizePath ("github.com/example/foo/bar.go" ),
4848 prefix : "github.com/example/" ,
49- noPrefix : "foo/bar.go" ,
49+ noPrefix : path . NormalizePath ( "foo/bar.go" ) ,
5050 },
5151 {
5252 file : path .NormalizePath ("github.com/example/foo/bar.go" ),
5353 prefix : "example/foo" ,
54- noPrefix : "bar.go" ,
54+ noPrefix : path . NormalizePath ( "bar.go" ) ,
5555 },
5656 {
5757 file : path .NormalizePath ("github.com/example/foo/bar.go" ),
5858 prefix : "github.com/example1/" ,
59- noPrefix : "github.com/example/foo/bar.go" ,
59+ noPrefix : path . NormalizePath ( "github.com/example/foo/bar.go" ) ,
6060 },
6161 }
6262
You can’t perform that action at this time.
0 commit comments