@@ -39,24 +39,24 @@ func TestStripPrefix(t *testing.T) {
3939 noPrefix string
4040 }{
4141 {
42- file : path .NormalizePath ("github.com/example/foo/bar.go" ),
42+ file : path .Normalize ("github.com/example/foo/bar.go" ),
4343 prefix : "github.com/example" ,
44- noPrefix : path .NormalizePath ("foo/bar.go" ),
44+ noPrefix : path .Normalize ("foo/bar.go" ),
4545 },
4646 {
47- file : path .NormalizePath ("github.com/example/foo/bar.go" ),
47+ file : path .Normalize ("github.com/example/foo/bar.go" ),
4848 prefix : "github.com/example/" ,
49- noPrefix : path .NormalizePath ("foo/bar.go" ),
49+ noPrefix : path .Normalize ("foo/bar.go" ),
5050 },
5151 {
52- file : path .NormalizePath ("github.com/example/foo/bar.go" ),
52+ file : path .Normalize ("github.com/example/foo/bar.go" ),
5353 prefix : "example/foo" ,
54- noPrefix : path .NormalizePath ("bar.go" ),
54+ noPrefix : path .Normalize ("bar.go" ),
5555 },
5656 {
57- file : path .NormalizePath ("github.com/example/foo/bar.go" ),
57+ file : path .Normalize ("github.com/example/foo/bar.go" ),
5858 prefix : "github.com/example1/" ,
59- noPrefix : path .NormalizePath ("github.com/example/foo/bar.go" ),
59+ noPrefix : path .Normalize ("github.com/example/foo/bar.go" ),
6060 },
6161 }
6262
0 commit comments