Skip to content

Commit

Permalink
test: fix on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
szkiba committed Jan 21, 2025
1 parent a05c7ed commit 4c03397
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestNew(t *testing.T) { //nolint:paralleltest

out := captureStdout(t, func() { require.NoError(t, c.Execute()) })

require.True(t, strings.Contains(out, " k6 [command]"))
require.True(t, strings.Contains(out, " k6"))
}

//nolint:forbidigo
Expand Down
2 changes: 1 addition & 1 deletion command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestCommand(t *testing.T) {

require.NoError(t, err)

require.True(t, strings.HasPrefix(string(out), "k6 "))
require.True(t, strings.HasPrefix(string(out), "k6"))
}

func TestCommand_errors(t *testing.T) {
Expand Down

0 comments on commit 4c03397

Please sign in to comment.