We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cmd/gg.newTestEnv takes in a testing.TB:
cmd/gg.newTestEnv
testing.TB
https://github.com/zombiezen/gg/blob/7a34fa369d22ac969419dd375a19c0ee031ebeec/cmd/gg/main_test.go#L138
It would be better to avoid doing this: if it needs to log, then it should take in a logging interface. However, it does do auto-skipping:
https://github.com/zombiezen/gg/blob/7a34fa369d22ac969419dd375a19c0ee031ebeec/cmd/gg/main_test.go#L142-L144
... which would be annoying to replicate across all test sites, but this is what internal/git does.
internal/git
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cmd/gg.newTestEnv
takes in atesting.TB
:https://github.com/zombiezen/gg/blob/7a34fa369d22ac969419dd375a19c0ee031ebeec/cmd/gg/main_test.go#L138
It would be better to avoid doing this: if it needs to log, then it should take in a logging interface. However, it does do auto-skipping:
https://github.com/zombiezen/gg/blob/7a34fa369d22ac969419dd375a19c0ee031ebeec/cmd/gg/main_test.go#L142-L144
... which would be annoying to replicate across all test sites, but this is what
internal/git
does.The text was updated successfully, but these errors were encountered: