@@ -29,7 +29,7 @@ import vscode = require('vscode');
2929import { allToolsInformation } from '../../src/goToolsInformation' ;
3030import * as goInstallTools from '../../src/goInstallTools' ;
3131import * as utilModule from '../../src/util' ;
32- import { getGoConfig , getGoplsConfig } from '../../src/config' ;
32+ import { getGoConfig } from '../../src/config' ;
3333import { MockWorkspaceConfiguration } from './mocks/configuration' ;
3434
3535interface installationTestCase {
@@ -361,8 +361,7 @@ suite('getConfiguredTools', () => {
361361 new MockWorkspaceConfiguration (
362362 getGoConfig ( ) ,
363363 new Map < string , any > ( [ [ 'useLanguageServer' , true ] ] )
364- ) ,
365- new MockWorkspaceConfiguration ( getGoplsConfig ( ) )
364+ )
366365 ) ;
367366 const got = configured . map ( ( tool ) => tool . name ) ?? [ ] ;
368367 assert ( got . includes ( 'gopls' ) , `omitted 'gopls': ${ JSON . stringify ( got ) } ` ) ;
@@ -373,8 +372,7 @@ suite('getConfiguredTools', () => {
373372 new MockWorkspaceConfiguration (
374373 getGoConfig ( ) ,
375374 new Map < string , any > ( [ [ 'useLanguageServer' , false ] ] )
376- ) ,
377- new MockWorkspaceConfiguration ( getGoplsConfig ( ) )
375+ )
378376 ) ;
379377 const got = configured . map ( ( tool ) => tool . name ) ?? [ ] ;
380378 assert ( ! got . includes ( 'gopls' ) , `suggested 'gopls': ${ JSON . stringify ( got ) } ` ) ;
0 commit comments