@@ -15,14 +15,13 @@ final class AcceptSuggestionTests: XCTestCase {
1515 var age: String
1616 """
1717 let suggestion = CodeSuggestion (
18+ id: " " ,
1819 text: text,
1920 position: . init( line: 0 , character: 1 ) ,
20- uuid: " " ,
2121 range: . init(
2222 start: . init( line: 1 , character: 0 ) ,
2323 end: . init( line: 1 , character: 0 )
24- ) ,
25- displayText: " "
24+ )
2625 )
2726 var extraInfo = SuggestionInjector . ExtraInfo ( )
2827 var lines = content. breakIntoEditorStyleLines ( )
@@ -62,14 +61,13 @@ final class AcceptSuggestionTests: XCTestCase {
6261 var age: String
6362 """
6463 let suggestion = CodeSuggestion (
64+ id: " " ,
6565 text: text,
6666 position: . init( line: 0 , character: 12 ) ,
67- uuid: " " ,
6867 range: . init(
6968 start: . init( line: 0 , character: 0 ) ,
7069 end: . init( line: 0 , character: 12 )
71- ) ,
72- displayText: " "
70+ )
7371 )
7472
7573 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -106,14 +104,13 @@ final class AcceptSuggestionTests: XCTestCase {
106104 var age: String
107105 """
108106 let suggestion = CodeSuggestion (
107+ id: " " ,
109108 text: text,
110109 position: . init( line: 1 , character: 12 ) ,
111- uuid: " " ,
112110 range: . init(
113111 start: . init( line: 1 , character: 0 ) ,
114112 end: . init( line: 1 , character: 12 )
115- ) ,
116- displayText: " "
113+ )
117114 )
118115
119116 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -150,14 +147,13 @@ final class AcceptSuggestionTests: XCTestCase {
150147 var age: String
151148 """
152149 let suggestion = CodeSuggestion (
150+ id: " " ,
153151 text: text,
154152 position: . init( line: 1 , character: 12 ) ,
155- uuid: " " ,
156153 range: . init(
157154 start: . init( line: 1 , character: 0 ) ,
158155 end: . init( line: 1 , character: 12 )
159- ) ,
160- displayText: " "
156+ )
161157 )
162158
163159 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -191,14 +187,13 @@ final class AcceptSuggestionTests: XCTestCase {
191187 print( " Hello World! " )
192188 """
193189 let suggestion = CodeSuggestion (
190+ id: " " ,
194191 text: text,
195192 position: . init( line: 0 , character: 6 ) ,
196- uuid: " " ,
197193 range: . init(
198194 start: . init( line: 0 , character: 0 ) ,
199195 end: . init( line: 0 , character: 6 )
200- ) ,
201- displayText: " "
196+ )
202197 )
203198
204199 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -229,14 +224,13 @@ final class AcceptSuggestionTests: XCTestCase {
229224 print( " Hello World!
230225 """
231226 let suggestion = CodeSuggestion (
227+ id: " " ,
232228 text: text,
233229 position: . init( line: 0 , character: 6 ) ,
234- uuid: " " ,
235230 range: . init(
236231 start: . init( line: 0 , character: 0 ) ,
237232 end: . init( line: 0 , character: 6 )
238- ) ,
239- displayText: " "
233+ )
240234 )
241235
242236 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -271,14 +265,13 @@ final class AcceptSuggestionTests: XCTestCase {
271265 }
272266 """
273267 let suggestion = CodeSuggestion (
268+ id: " " ,
274269 text: text,
275270 position: . init( line: 0 , character: 6 ) ,
276- uuid: " " ,
277271 range: . init(
278272 start: . init( line: 0 , character: 0 ) ,
279273 end: . init( line: 0 , character: 6 )
280- ) ,
281- displayText: " "
274+ )
282275 )
283276
284277 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -316,14 +309,13 @@ final class AcceptSuggestionTests: XCTestCase {
316309 }
317310 """
318311 let suggestion = CodeSuggestion (
312+ id: " " ,
319313 text: text,
320314 position: . init( line: 0 , character: 18 ) ,
321- uuid: " " ,
322315 range: . init(
323316 start: . init( line: 0 , character: 0 ) ,
324317 end: . init( line: 0 , character: 20 )
325- ) ,
326- displayText: " "
318+ )
327319 )
328320
329321 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -363,14 +355,13 @@ final class AcceptSuggestionTests: XCTestCase {
363355 }
364356 """
365357 let suggestion = CodeSuggestion (
358+ id: " " ,
366359 text: text,
367360 position: . init( line: 0 , character: 18 ) ,
368- uuid: " " ,
369361 range: . init(
370362 start: . init( line: 1 , character: 0 ) ,
371363 end: . init( line: 1 , character: 0 )
372- ) ,
373- displayText: " "
364+ )
374365 )
375366
376367 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -413,14 +404,13 @@ final class AcceptSuggestionTests: XCTestCase {
413404 }
414405 """
415406 let suggestion = CodeSuggestion (
407+ id: " " ,
416408 text: text,
417409 position: . init( line: 0 , character: 7 ) ,
418- uuid: " " ,
419410 range: . init(
420411 start: . init( line: 0 , character: 0 ) ,
421412 end: . init( line: 2 , character: 1 )
422- ) ,
423- displayText: " "
413+ )
424414 )
425415
426416 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -467,14 +457,13 @@ final class AcceptSuggestionTests: XCTestCase {
467457 }
468458 """
469459 let suggestion = CodeSuggestion (
460+ id: " " ,
470461 text: text,
471462 position: . init( line: 5 , character: 34 ) ,
472- uuid: " " ,
473463 range: . init(
474464 start: . init( line: 4 , character: 7 ) ,
475465 end: . init( line: 5 , character: 34 )
476- ) ,
477- displayText: " "
466+ )
478467 )
479468
480469 var extraInfo = SuggestionInjector . ExtraInfo ( )
@@ -515,14 +504,13 @@ final class AcceptSuggestionTests: XCTestCase {
515504 """
516505
517506 let suggestion = CodeSuggestion (
507+ id: " " ,
518508 text: " apiKeyName: azureOpenAIAPIKeyName " ,
519509 position: . init( line: 0 , character: 12 ) ,
520- uuid: " " ,
521510 range: . init(
522511 start: . init( line: 0 , character: 0 ) ,
523512 end: . init( line: 0 , character: 12 )
524- ) ,
525- displayText: " "
513+ )
526514 )
527515
528516 var lines = content. breakIntoEditorStyleLines ( )
@@ -549,14 +537,13 @@ final class AcceptSuggestionTests: XCTestCase {
549537 """
550538
551539 let suggestion = CodeSuggestion (
540+ id: " " ,
552541 text: " apiKeyName: azureOpenAIAPIKeyName " ,
553542 position: . init( line: 0 , character: 12 ) ,
554- uuid: " " ,
555543 range: . init(
556544 start: . init( line: 0 , character: 0 ) ,
557545 end: . init( line: 0 , character: 12 )
558- ) ,
559- displayText: " "
546+ )
560547 )
561548
562549 var lines = content. breakIntoEditorStyleLines ( )
0 commit comments