Skip to content

Commit

Permalink
refactor: Replace 'print' with 'fmt.Print' (#3327)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Oct 14, 2024
1 parent 8fbbcf8 commit 8ea16b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 @@ func main() {

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
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

0 comments on commit 8ea16b9

Please sign in to comment.