Skip to content

Commit

Permalink
Fix TestOpen on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Feb 6, 2025
1 parent 183ed80 commit 8207df7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/js/bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ func TestOpen(t *testing.T) {

t.Run(tCase.name, testFunc)
if isWindows {
tCase := tCase // copy test case before making modifications
// windowsify the testcase
tCase.openPath = strings.ReplaceAll(tCase.openPath, `/`, `\`)
tCase.pwd = strings.ReplaceAll(tCase.pwd, `/`, `\`)
Expand Down

0 comments on commit 8207df7

Please sign in to comment.