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

Commit

Permalink
fix: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-lejdung committed Aug 31, 2018
1 parent c158706 commit 7e2b904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@
"go.buildTags": {
"type": "string",
"default": "",
"description": "The Go build tags to use for all commands, excluding when running tests (see testTags), that support a `-tags '...'` argument",
"description": "The Go build tags to use for all commands, that support a `-tags '...'` argument. When running tests, go.testTags will be used instead if it was set.",
"scope": "resource"
},
"go.testTags": {
Expand Down
2 changes: 1 addition & 1 deletion src/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function goTest(testconfig: TestConfig): Thenable<boolean> {
outputChannel.show(true);
}

let testTags: string = (testconfig.goConfig.has("testTags")) ? testconfig.goConfig['testTags'] : testconfig.goConfig['buildTags'];
let testTags: string = (testconfig.goConfig.has('testTags')) ? testconfig.goConfig['testTags'] : testconfig.goConfig['buildTags'];
let args: Array<string> = ['test', ...testconfig.flags];
let testType: string = testconfig.isBenchmark ? 'Benchmarks' : 'Tests';

Expand Down

0 comments on commit 7e2b904

Please sign in to comment.