File tree 1 file changed +5
-5
lines changed
pkg/skaffold/build/buildpacks
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,27 +32,27 @@ func TestValidate(t *testing.T) {
32
32
}{
33
33
{
34
34
description : "NodeJS" ,
35
- path : "path/to/ package.json" ,
35
+ path : filepath . Join ( "path" , "to" , " package.json") ,
36
36
expectedValid : true ,
37
37
},
38
38
{
39
39
description : "NodeJS (ignored)" ,
40
- path : "node_modules/ package.json" ,
40
+ path : filepath . Join ( "node_modules" , " package.json") ,
41
41
expectedValid : false ,
42
42
},
43
43
{
44
44
description : "Go" ,
45
- path : "path/to/ go.mod" ,
45
+ path : filepath . Join ( "path" , "to" , " go.mod") ,
46
46
expectedValid : true ,
47
47
},
48
48
{
49
49
description : "Go (ignored)" ,
50
- path : "vendor/ go.mod" ,
50
+ path : filepath . Join ( "vendor" , " go.mod") ,
51
51
expectedValid : false ,
52
52
},
53
53
{
54
54
description : "Unknown language" ,
55
- path : "path/to/ something.txt" ,
55
+ path : filepath . Join ( "path" , "to" , " something.txt") ,
56
56
expectedValid : false ,
57
57
},
58
58
}
You can’t perform that action at this time.
0 commit comments