fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
fdcc40683e
commit
008f8e890c
|
|
@ -161,7 +161,7 @@ func TestGetGitAuth(t *testing.T) {
|
||||||
{
|
{
|
||||||
testName: "withTokenUsernamePassword",
|
testName: "withTokenUsernamePassword",
|
||||||
setEnv: func() (expectedValue transport.AuthMethod) {
|
setEnv: func() (expectedValue transport.AuthMethod) {
|
||||||
username := "foo"
|
username := "foo-user"
|
||||||
token := "some-token-45678"
|
token := "some-token-45678"
|
||||||
pass := "some-password-12345"
|
pass := "some-password-12345"
|
||||||
_ = os.Setenv(gitAuthUsernameEnvKey, username)
|
_ = os.Setenv(gitAuthUsernameEnvKey, username)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue