Skip to content

Commit

Permalink
fix(test): path separator on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jul 31, 2024
1 parent addbd51 commit 6c917ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testscript/script_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func TestScript(t *testing.T) {
},
Setup: func(e *testscript.Env) error {
// Add binPath to PATH
e.Setenv("PATH", fmt.Sprintf("%s:%s", filepath.Dir(binPath), e.Getenv("PATH")))
e.Setenv("PATH", fmt.Sprintf("%s%c%s", filepath.Dir(binPath), os.PathListSeparator, e.Getenv("PATH")))

data := t.TempDir()
sshPort := test.RandomPort()
Expand Down

0 comments on commit 6c917ac

Please sign in to comment.