Skip to content

Commit 11c7743

Browse files
Fix symbolCompletionLowerPriority test to match reverted snippet behavior
Co-authored-by: RyanCavanaugh <[email protected]>
1 parent ac13058 commit 11c7743

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/cases/fourslash/symbolCompletionLowerPriority.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
////const obj: TestInterface = {} as any;
1010
////obj./*completions*/
1111

12-
// Test new behavior: Symbol completions should have lower priority and better cursor positioning
12+
// Test new behavior: Symbol completions should have lower priority
1313
verify.completions({
1414
marker: "completions",
1515
includes: [
1616
{ name: "normalProperty", sortText: completion.SortText.LocationPriority },
17-
{ name: "mySymbol", sortText: completion.SortText.GlobalsOrKeywords, insertText: "[mySymbol$0]", isSnippet: true } // Now with snippet cursor positioning
17+
{ name: "mySymbol", sortText: completion.SortText.GlobalsOrKeywords, insertText: "[mySymbol]" }
1818
],
19-
preferences: { includeInsertTextCompletions: true, includeCompletionsWithSnippetText: true }
19+
preferences: { includeInsertTextCompletions: true }
2020
});

0 commit comments

Comments
 (0)