Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Changed the default go.testFlags to not include -v option #817

Merged
merged 2 commits into from
Feb 24, 2017
Merged

Changed the default go.testFlags to not include -v option #817

merged 2 commits into from
Feb 24, 2017

Conversation

jeffwillette
Copy link
Contributor

No description provided.

@msftclas
Copy link

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

src/goTest.ts Outdated
@@ -215,6 +215,6 @@ function hasTestFunctionPrefix(name: string): boolean {
}

function getTestFlags(goConfig: vscode.WorkspaceConfiguration, args: any): string[] {
let testFlags = goConfig['testFlags'] ? goConfig['testFlags'] : ['-v', ...goConfig['buildFlags']];
let testFlags = goConfig['testFlags'] ? goConfig['testFlags'] : [goConfig['buildFlags']];
Copy link
Contributor

Choose a reason for hiding this comment

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

you don't need the [] around goConfig['buildFlags'] I believe

Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

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

you don't need the extra []

@jeffwillette
Copy link
Contributor Author

@ramya-rao-a ...done

@ramya-rao-a
Copy link
Contributor

Thanks @deltaskelta !

@ramya-rao-a ramya-rao-a merged commit 6ebd3b9 into microsoft:master Feb 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants