Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix revive warning in testmain.go files (#3958)
When configuring nogo() to run the revive linter, we currently see builds of testmain.go files fail with the following error: if block ends with call to os.Exit function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) Let's restructure this code slightly, so that this is no longer an issue.
- Loading branch information