Skip to content

Commit 0787862

Browse files
committed
fix test
1 parent 4517bb8 commit 0787862

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

typescript/test/completions.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ test('Object Literal Completions', () => {
664664
"name": "plugins",
665665
},
666666
{
667-
"insertText": "plugins: [\\\\n $1\\\\n],$0",
667+
"insertText": "plugins: [\\\\n $1\\\\n],",
668668
"isSnippet": true,
669669
"kind": "property",
670670
"kindModifiers": "",
@@ -688,7 +688,7 @@ test('Object Literal Completions', () => {
688688
"name": "additionalOptions",
689689
},
690690
{
691-
"insertText": "additionalOptions: {\\\\n $1\\\\n},$0",
691+
"insertText": "additionalOptions: {\\\\n $1\\\\n},",
692692
"isSnippet": true,
693693
"kind": "property",
694694
"kindModifiers": "optional",
@@ -723,7 +723,7 @@ test('Object Literal Completions', () => {
723723
"name": "mood",
724724
},
725725
{
726-
"insertText": "mood: \\"$1\\",$0",
726+
"insertText": "mood: \\"$1\\",",
727727
"isSnippet": true,
728728
"kind": "property",
729729
"kindModifiers": "optional",
@@ -770,7 +770,7 @@ test('Object Literal Completions with keepOriginal: remove & builtin method snip
770770
`)
771771
completion(1, {
772772
exact: {
773-
insertTexts: ['a: {\n\t$1\n},$0', 'onA() {\n$0\n},'],
773+
insertTexts: ['a: {\n\t$1\n},', 'onA() {\n$0\n},'],
774774
all: {
775775
isSnippet: true,
776776
},

0 commit comments

Comments
 (0)