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

Don't use global variables to initialize test cases #2357

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

mstoykov
Copy link
Contributor

This is the first commit of #2353 which is part of me trying to make that PR smaller, easier to review and edit.

In this particular case we copy paste the global varible that is the table for the table driven test in the test + it's helper variables

@github-actions github-actions bot requested review from na-- and oleiade January 27, 2022 13:45
@mstoykov mstoykov mentioned this pull request Jan 28, 2022
@mstoykov mstoykov added this to the v0.37.0 milestone Jan 28, 2022
@mstoykov mstoykov merged commit 0dda328 into master Jan 28, 2022
@mstoykov mstoykov deleted the noGlobalsInCmdRuntimeOptionsTest branch January 28, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants