Skip to content

Commit

Permalink
tests: weird regression on windows - endLine
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarreira committed Oct 21, 2023
1 parent ef35268 commit cf0b02e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/exec/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ func TestOsExec(t *testing.T) {

func init() {
if runtime.GOOS == "windows" {
endLine = "\r\n"
// windows ends echo with \n or \r\n ?!?
endLine = "\n"
// endLine = "\r\n"
}
}

0 comments on commit cf0b02e

Please sign in to comment.