@@ -129,8 +129,7 @@ verify.completions({
129129 pos : 0 ,
130130 end : 0 ,
131131 } ,
132- insertText :
133- "foo(param1: string, param2: boolean): Promise<void> {\n}\n" ,
132+ insertText : "foo(param1: string, param2: boolean): Promise<void> {\n}" ,
134133 }
135134 ] ,
136135} ) ;
@@ -152,8 +151,7 @@ verify.completions({
152151 pos : 0 ,
153152 end : 0 ,
154153 } ,
155- insertText :
156- "foo(a: string, b: string): string {\n}\n" ,
154+ insertText : "foo(a: string, b: string): string {\n}" ,
157155 }
158156 ] ,
159157} ) ;
@@ -175,8 +173,7 @@ verify.completions({
175173 pos : 0 ,
176174 end : 0 ,
177175 } ,
178- insertText :
179- "foo(a: string): string {\n}\n" ,
176+ insertText : "foo(a: string): string {\n}" ,
180177 }
181178 ] ,
182179} ) ;
@@ -198,8 +195,7 @@ verify.completions({
198195 pos : 0 ,
199196 end : 0 ,
200197 } ,
201- insertText :
202- "foo(a: string): string {\n}\n" ,
198+ insertText : "foo(a: string): string {\n}" ,
203199 }
204200 ] ,
205201} ) ;
@@ -221,8 +217,7 @@ verify.completions({
221217 pos : 0 ,
222218 end : 0 ,
223219 } ,
224- insertText :
225- "foo(a: string): string {\n}\n" ,
220+ insertText : "foo(a: string): string {\n}" ,
226221 }
227222 ] ,
228223} ) ;
@@ -244,8 +239,7 @@ verify.completions({
244239 pos : 0 ,
245240 end : 0 ,
246241 } ,
247- insertText :
248- "foo(a: string): string {\n}\n" ,
242+ insertText : "foo(a: string): string {\n}" ,
249243 }
250244 ] ,
251245} ) ;
@@ -268,9 +262,10 @@ verify.completions({
268262 end : 0 ,
269263 } ,
270264 insertText :
271- "foo(a: string): string;\n\
272- foo(a: undefined, b: number): string;\n\
273- foo(a: any, b?: any): string {\n}\n" ,
265+ `foo(a: string): string;
266+ foo(a: undefined, b: number): string;
267+ foo(a: any, b?: any): string {
268+ }` ,
274269 }
275270 ] ,
276271} ) ;
@@ -302,8 +297,7 @@ verify.completions({
302297 pos : 0 ,
303298 end : 0 ,
304299 } ,
305- insertText :
306- "met(n: number): number {\n}\n" ,
300+ insertText : "met(n: number): number {\n}" ,
307301 }
308302 ] ,
309303} ) ;
@@ -325,8 +319,7 @@ verify.completions({
325319 pos : 0 ,
326320 end : 0 ,
327321 } ,
328- insertText :
329- "met<T>(t: T): T {\n}\n" ,
322+ insertText : "met<T>(t: T): T {\n}" ,
330323 } ,
331324 {
332325 name : "metcons" ,
@@ -336,8 +329,7 @@ verify.completions({
336329 pos : 0 ,
337330 end : 0 ,
338331 } ,
339- insertText :
340- "metcons<T extends string | number>(t: T): T {\n}\n" ,
332+ insertText : "metcons<T extends string | number>(t: T): T {\n}" ,
341333 }
342334 ] ,
343335} ) ;
0 commit comments