Skip to content

Commit d2f739f

Browse files
committed
[release] prepare v0.32.0 release (2)
c783d6f src:goGenerateTests: fix lint 1cc1b7c src/goGenerateTests: fix method can not generate test in gopls document symbol Change-Id: I1579916f85353ed72affc03832d33a79aed829ee
2 parents a3d3b81 + c783d6f commit d2f739f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/goGenerateTests.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,7 @@ function generateTests(conf: Config, goConfig: vscode.WorkspaceConfiguration): P
227227
async function getFunctions(doc: vscode.TextDocument): Promise<vscode.DocumentSymbol[]> {
228228
const documentSymbolProvider = new GoDocumentSymbolProvider();
229229
const symbols = await documentSymbolProvider.provideDocumentSymbols(doc, null);
230-
return symbols[0].children.filter((sym) => sym.kind === vscode.SymbolKind.Function);
230+
return symbols[0].children.filter((sym) =>
231+
[vscode.SymbolKind.Function, vscode.SymbolKind.Method].includes(sym.kind)
232+
);
231233
}

src/goToolsInformation.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ export const allToolsInformation: { [key: string]: Tool } = {
195195
description: 'Language Server from Google',
196196
usePrereleaseInPreviewMode: true,
197197
minimumGoVersion: semver.coerce('1.13'),
198-
latestVersion: semver.parse('v0.7.5'),
199-
latestVersionTimestamp: moment('2022-01-18', 'YYYY-MM-DD'),
200-
latestPrereleaseVersion: semver.parse('v0.7.5'),
201-
latestPrereleaseVersionTimestamp: moment('2022-01-18', 'YYYY-MM-DD')
198+
latestVersion: semver.parse('v0.8.0'),
199+
latestVersionTimestamp: moment('2022-03-03', 'YYYY-MM-DD'),
200+
latestPrereleaseVersion: semver.parse('v0.8.0'),
201+
latestPrereleaseVersionTimestamp: moment('2022-03-03', 'YYYY-MM-DD')
202202
},
203203
'dlv': {
204204
name: 'dlv',

0 commit comments

Comments
 (0)