File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/workspaceSymbols Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ suite('Workspace Symbols Provider', () => {
76
76
expect ( tags ) . to . be . lengthOf ( 0 ) ;
77
77
verify ( commandManager . executeCommand ( Commands . Build_Workspace_Symbols , true , anything ( ) ) ) . never ( ) ;
78
78
} ) ;
79
- test ( 'symbols should be returned when enabeld and vice versa' , async ( ) => {
79
+ test ( 'symbols should be returned when enabled and vice versa' , async ( ) => {
80
80
const provider = new WorkspaceSymbolProvider ( instance ( fs ) , instance ( commandManager ) , [ instance ( generator ) ] ) ;
81
81
const tagFilePath = path . join ( workspaceUri . fsPath , '.vscode' , 'tags' ) ;
82
82
when ( generator . tagFilePath ) . thenReturn ( tagFilePath ) ;
@@ -87,7 +87,7 @@ suite('Workspace Symbols Provider', () => {
87
87
88
88
const tags = await provider . provideWorkspaceSymbols ( '' , new CancellationTokenSource ( ) . token ) ;
89
89
90
- expect ( tags ) . to . be . lengthOf ( 100 ) ;
90
+ expect ( tags . length ) . to . be . greaterThan ( 99 ) ;
91
91
verify ( commandManager . executeCommand ( Commands . Build_Workspace_Symbols , true , anything ( ) ) ) . never ( ) ;
92
92
} ) ;
93
93
test ( 'symbols should be filtered correctly' , async ( ) => {
You can’t perform that action at this time.
0 commit comments