Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format code with goimports #785

Merged
merged 1 commit into from
Mar 6, 2020
Merged

Conversation

muesli
Copy link
Contributor

@muesli muesli commented Jul 19, 2019

Fixed formatting and import order.

Fixed formatting and import order.
@@ -350,7 +350,7 @@ func TestRunSuite(t *testing.T) {
type SuiteSetupSkipTester struct {
Suite

setUp bool
setUp bool
Copy link

Choose a reason for hiding this comment

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

these changes are not related to imports

Copy link
Contributor Author

Choose a reason for hiding this comment

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

goimports does both import ordering as well as calling gofmt.

Copy link

@bencampbell-wf bencampbell-wf Aug 15, 2019

Choose a reason for hiding this comment

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

Hmm. This change would lead me to believe the go formatting check defined during CI is not being run.

FYI: @georgelesica-wf

Choose a reason for hiding this comment

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

Agreed, weird...

Choose a reason for hiding this comment

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

Fixed, hopefully... #804

@@ -84,7 +84,7 @@ func Run(t *testing.T, suite TestingSuite) {
defer failOnPanic(t)

suiteSetupDone := false

Copy link

Choose a reason for hiding this comment

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

these changes are not related to imports

@boyan-soubachov boyan-soubachov merged commit 3acde13 into stretchr:master Mar 6, 2020
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.

5 participants