You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add additional test coverage for helper functions in Util
Currently helper functions in Util lacks test coverage
This commit fixes the following functions by addressing the review feedback.
- Added lint comment //nolint:gosec // This is not a hardcoded credential
Signed-off-by: Kugamoorthy Gajananan <[email protected]>
Copy file name to clipboardexpand all lines: internal/util/helpers_test.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ var (
36
36
37
37
// envLockXdgConfig is a mutex to ensure that all the tests that run os.SetEnv("MINDER_AUTH_TOKEN") need to be prevented from running at the same time as each other.
38
38
envLockMinderAuthToken=&sync.Mutex{}
39
-
39
+
//nolint:gosec // This is not a hardcoded credential
40
40
XdgConfigHomeEnvVar="XDG_CONFIG_HOME"
41
-
41
+
//nolint:gosec // This is not a hardcoded credential
0 commit comments