Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(deps): fix tenv in ".*_test.go$" #6746

Closed
wants to merge 1 commit into from

Conversation

mmorel-35
Copy link
Contributor

Description

Fixes tenv linter issues in ".*_test.go$"

@@ -87,7 +87,7 @@ func Test_evaluateVariable(t *testing.T) {
}

envName := "TEST_GO_DEP_PARSER"
os.Setenv(envName, "1.2.3")
t.Setenv(envName, "1.2.3")
defer os.Unsetenv(envName)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if it is still usefull with t.SetEnv being used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant