From b1311f014e927aaf5989be986e06d31ebabed097 Mon Sep 17 00:00:00 2001 From: flkhndlr <50197097+flkhndlr@users.noreply.github.com> Date: Tue, 18 Apr 2023 10:41:25 +0200 Subject: [PATCH 1/2] clear whitespaces --- api_key_test.go | 2 +- service_account_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api_key_test.go b/api_key_test.go index 46131c80..63f5fb91 100644 --- a/api_key_test.go +++ b/api_key_test.go @@ -22,7 +22,7 @@ const ( "role": "Admin", "expiration": "2021-10-30T10:52:03+03:00" } - ]` //#nosec + ]`//#nosec ) func TestCreateAPIKey(t *testing.T) { diff --git a/service_account_test.go b/service_account_test.go index 9819fc7a..ce9cf916 100644 --- a/service_account_test.go +++ b/service_account_test.go @@ -74,7 +74,7 @@ const ( "secondsUntilExpiration": 0, "hasExpired": false } - ]` //#nosec + ]`//#nosec ) func TestCreateServiceAccountToken(t *testing.T) { From 6b31ab5dc60b44c4daaf69015da1c78d676f7706 Mon Sep 17 00:00:00 2001 From: flkhndlr <50197097+flkhndlr@users.noreply.github.com> Date: Tue, 18 Apr 2023 10:44:29 +0200 Subject: [PATCH 2/2] adding back whitespaces --- api_key_test.go | 2 +- service_account_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api_key_test.go b/api_key_test.go index 63f5fb91..def55c15 100644 --- a/api_key_test.go +++ b/api_key_test.go @@ -22,7 +22,7 @@ const ( "role": "Admin", "expiration": "2021-10-30T10:52:03+03:00" } - ]`//#nosec + ]` //#nosec ) func TestCreateAPIKey(t *testing.T) { diff --git a/service_account_test.go b/service_account_test.go index ce9cf916..4f8ab287 100644 --- a/service_account_test.go +++ b/service_account_test.go @@ -74,7 +74,7 @@ const ( "secondsUntilExpiration": 0, "hasExpired": false } - ]`//#nosec + ]` //#nosec ) func TestCreateServiceAccountToken(t *testing.T) {