Skip to content
This repository was 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
ramya-rao-a merged 2 commits intomicrosoft:masterfrom
jeffwillette:master
Feb 24, 2017
Merged

Changed the default go.testFlags to not include -v option#817
ramya-rao-a merged 2 commits intomicrosoft:masterfrom
jeffwillette:master

Conversation

@jeffwillette
Copy link
Copy Markdown
Contributor

No description provided.

@msftclas
Copy link
Copy Markdown

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

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@ramya-rao-a ...done

@ramya-rao-a
Copy link
Copy Markdown
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