+
Skip to content

refactor: Replace 'print' with 'fmt.Print' #3327

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/fields/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

token := os.Getenv("GITHUB_AUTH_TOKEN")
if token == "" {
print("!!! No OAuth token. Some tests won't run. !!!\n\n")
fmt.Print("!!! No OAuth token. Some tests won't run. !!!\n\n")

Check warning on line 42 in test/fields/fields.go

View check run for this annotation

Codecov / codecov/patch

test/fields/fields.go#L42

Added line #L42 was not covered by tests
client = github.NewClient(nil)
} else {
client = github.NewClient(nil).WithAuthToken(token)
Expand Down
2 changes: 1 addition & 1 deletion test/integration/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var (
func init() {
token := os.Getenv("GITHUB_AUTH_TOKEN")
if token == "" {
print("!!! No OAuth token. Some tests won't run. !!!\n\n")
fmt.Print("!!! No OAuth token. Some tests won't run. !!!\n\n")
client = github.NewClient(nil)
} else {
client = github.NewClient(nil).WithAuthToken(token)
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载