Skip to content

Commit b5957de

Browse files
committed
fixing windows
Signed-off-by: James Alseth <[email protected]>
1 parent eed5ee8 commit b5957de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/plugin_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ func TestParseCommand(t *testing.T) {
3434
},
3535
{
3636
desc: "full path with space in command",
37-
cmd: "/Users/user/Library/Application Support/.conftest/plugins/kubectl/kubectl.sh some-resource",
38-
wantExec: "/Users/user/Library/Application Support/.conftest/plugins/kubectl/kubectl.sh",
37+
cmd: filepath.ToSlash("/Users/user/Library/Application Support/.conftest/plugins/kubectl/kubectl.sh some-resource"),
38+
wantExec: filepath.ToSlash("/Users/user/Library/Application Support/.conftest/plugins/kubectl/kubectl.sh"),
3939
wantArgs: []string{"some-resource"},
4040
},
4141
{

0 commit comments

Comments
 (0)