Skip to content

command: add test for mixed output#25

Merged
bobheadxi merged 2 commits into
mainfrom
mixed-output
May 17, 2022
Merged

command: add test for mixed output#25
bobheadxi merged 2 commits into
mainfrom
mixed-output

Conversation

@bobheadxi

Copy link
Copy Markdown
Member

No description provided.

@bobheadxi
bobheadxi marked this pull request as ready for review May 17, 2022 16:52
@bobheadxi
bobheadxi requested a review from michaellzc as a code owner May 17, 2022 16:52
Comment thread command_test.go
})

c.Run("mixed output", func(c *qt.C) {
const mixedOutputCmd = `echo "stdout" ; sleep 0.001 ; >&2 echo "stderr"`

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sleep needed to maintain output stability 😬 but at least both gets picked up

@bobheadxi
bobheadxi merged commit 55b3fda into main May 17, 2022
@bobheadxi
bobheadxi deleted the mixed-output branch May 17, 2022 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants