Skip to content

Conversation

mafredri
Copy link
Member

This was causing dirty test output.

@mafredri mafredri self-assigned this Jul 26, 2022
@mafredri mafredri requested a review from a team July 26, 2022 11:13
@@ -97,8 +96,6 @@ func TestStatePush(t *testing.T) {
err = stateFile.Close()
require.NoError(t, err)
cmd, root := clitest.New(t, "state", "push", workspace.Name, stateFile.Name())
cmd.SetErr(io.Discard)
cmd.SetOut(io.Discard)
Copy link
Member Author

Choose a reason for hiding this comment

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

These are just no longer needed (cleanup).

@mafredri mafredri merged commit 159137d into main Jul 26, 2022
@mafredri mafredri deleted the mafredri/fix-cli-test-stdout-dirtying branch July 26, 2022 14:23
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