From 5ab40babbd24dd87a36c175ba1955ee141e93d64 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 14 Oct 2024 17:12:43 +0300 Subject: [PATCH] refactor: Replace 'print' with 'fmt.Print' --- test/fields/fields.go | 2 +- test/integration/github_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fields/fields.go b/test/fields/fields.go index 7bfa021758d..7979ccc838f 100644 --- a/test/fields/fields.go +++ b/test/fields/fields.go @@ -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) diff --git a/test/integration/github_test.go b/test/integration/github_test.go index 64f379a732e..48745706002 100644 --- a/test/integration/github_test.go +++ b/test/integration/github_test.go @@ -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)