Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,12 @@ func TestDeps(t *testing.T) {
WithExecutorOptions(
task.WithDir("testdata/deps"),
task.WithSilent(true),
// Deps run in parallel and, with the default interleaved output,
// their sub-line writes (echo writes the content and the newline
// separately) can interleave into a garbled buffer. Group output
// flushes each command atomically, keeping every line intact. The
// set of lines asserted (via PPSortedLines) is unchanged.
task.WithOutputStyle(ast.Output{Name: "group"}),
),
WithPostProcessFn(PPSortedLines),
)
Expand Down
Loading