File tree Expand file tree Collapse file tree
src/test/workspaceSymbols Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ suite('Workspace Symbols Provider', () => {
7676 expect ( tags ) . to . be . lengthOf ( 0 ) ;
7777 verify ( commandManager . executeCommand ( Commands . Build_Workspace_Symbols , true , anything ( ) ) ) . never ( ) ;
7878 } ) ;
79- test ( 'symbols should be returned when enabeld and vice versa' , async ( ) => {
79+ test ( 'symbols should be returned when enabled and vice versa' , async ( ) => {
8080 const provider = new WorkspaceSymbolProvider ( instance ( fs ) , instance ( commandManager ) , [ instance ( generator ) ] ) ;
8181 const tagFilePath = path . join ( workspaceUri . fsPath , '.vscode' , 'tags' ) ;
8282 when ( generator . tagFilePath ) . thenReturn ( tagFilePath ) ;
@@ -87,7 +87,7 @@ suite('Workspace Symbols Provider', () => {
8787
8888 const tags = await provider . provideWorkspaceSymbols ( '' , new CancellationTokenSource ( ) . token ) ;
8989
90- expect ( tags ) . to . be . lengthOf ( 100 ) ;
90+ expect ( tags . length ) . to . be . greaterThan ( 99 ) ;
9191 verify ( commandManager . executeCommand ( Commands . Build_Workspace_Symbols , true , anything ( ) ) ) . never ( ) ;
9292 } ) ;
9393 test ( 'symbols should be filtered correctly' , async ( ) => {
You can’t perform that action at this time.
0 commit comments