removing depth from test file

pull/235949/head
Aiday Marlen Kyzy 2024-12-12 16:57:58 +01:00
parent 73d18f18ba
commit 25a9306975
No known key found for this signature in database
GPG Key ID: 24A8B53DBD26FF4E
1 changed files with 3 additions and 3 deletions

View File

@ -148,9 +148,9 @@ suite('Sticky Scroll Tests', () => {
disposables.add(languageService.documentSymbolProvider.register('*', documentSymbolProviderForTestModel()));
const provider: StickyLineCandidateProvider = new StickyLineCandidateProvider(editor, languageService, languageConfigurationService);
await provider.update();
assert.deepStrictEqual(provider.getCandidateStickyLinesIntersecting({ startLineNumber: 1, endLineNumber: 4 }), [new StickyLineCandidate(1, 2, 1)]);
assert.deepStrictEqual(provider.getCandidateStickyLinesIntersecting({ startLineNumber: 8, endLineNumber: 10 }), [new StickyLineCandidate(7, 11, 1), new StickyLineCandidate(9, 11, 2), new StickyLineCandidate(10, 10, 3)]);
assert.deepStrictEqual(provider.getCandidateStickyLinesIntersecting({ startLineNumber: 10, endLineNumber: 13 }), [new StickyLineCandidate(7, 11, 1), new StickyLineCandidate(9, 11, 2), new StickyLineCandidate(10, 10, 3)]);
assert.deepStrictEqual(provider.getCandidateStickyLinesIntersecting({ startLineNumber: 1, endLineNumber: 4 }), [new StickyLineCandidate(1, 2)]);
assert.deepStrictEqual(provider.getCandidateStickyLinesIntersecting({ startLineNumber: 8, endLineNumber: 10 }), [new StickyLineCandidate(7, 11), new StickyLineCandidate(9, 11), new StickyLineCandidate(10, 10)]);
assert.deepStrictEqual(provider.getCandidateStickyLinesIntersecting({ startLineNumber: 10, endLineNumber: 13 }), [new StickyLineCandidate(7, 11), new StickyLineCandidate(9, 11), new StickyLineCandidate(10, 10)]);
provider.dispose();
model.dispose();