Skip to content

Conversation

ldez
Copy link
Member

@ldez ldez commented Mar 2, 2024

In the continuity of the previous PRs (#4404, #4412, and #4419), the code related to output/printer is moved into the package printer.

Each printer was already in this package but a lot of the code related to build and print was inside the run command.

This allows us to add tests to this section.

@ldez ldez added the topic: cleanup Related to code, process, or doc cleanup label Mar 2, 2024
@ldez ldez requested review from Antonboom and bombsimon March 2, 2024 20:47
@ldez ldez added the enhancement New feature or improvement label Mar 2, 2024
@ldez ldez requested a review from alexandear March 2, 2024 21:22
ldez and others added 4 commits March 3, 2024 00:42
@ldez ldez enabled auto-merge (squash) March 3, 2024 15:56
@ldez ldez merged commit 979a4aa into golangci:master Mar 3, 2024
@ldez ldez deleted the feat/printers-code branch March 3, 2024 16:00
@ldez ldez added this to the next milestone Mar 4, 2024
}
}

func TestPrinter_Print_stderr(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

proposal: t.Parallel for fat tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement topic: cleanup Related to code, process, or doc cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants