File tree 1 file changed +0
-28
lines changed
1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
10
10
TestController ,
11
11
TestItem ,
12
12
TestItemCollection ,
13
- TestRunProfileKind ,
14
13
TestRunRequest ,
15
14
TextDocument ,
16
15
TextDocumentChangeEvent ,
@@ -187,33 +186,6 @@ export class GoTestExplorer {
187
186
this . resolver = new GoTestResolver ( workspace , ctrl , provideDocumentSymbols ) ;
188
187
this . profiler = new GoTestProfiler ( this . resolver , workspaceState ) ;
189
188
this . runner = new GoTestRunner ( workspace , ctrl , this . resolver , this . profiler ) ;
190
-
191
- ctrl . resolveHandler = async ( item ) => {
192
- try {
193
- await this . resolver . resolve ( item ) ;
194
- } catch ( error ) {
195
- if ( isInTest ( ) ) throw error ;
196
-
197
- const m = 'Failed to resolve tests' ;
198
- outputChannel . appendLine ( `${ m } : ${ error } ` ) ;
199
- await vscode . window . showErrorMessage ( m ) ;
200
- }
201
- } ;
202
-
203
- ctrl . createRunProfile (
204
- 'go test' ,
205
- TestRunProfileKind . Run ,
206
- async ( request , token ) => {
207
- try {
208
- await this . runner . run ( request , token ) ;
209
- } catch ( error ) {
210
- const m = 'Failed to execute tests' ;
211
- outputChannel . appendLine ( `${ m } : ${ error } ` ) ;
212
- await vscode . window . showErrorMessage ( m ) ;
213
- }
214
- } ,
215
- true
216
- ) ;
217
189
}
218
190
219
191
/* ***** Listeners ***** */
You can’t perform that action at this time.
0 commit comments