@@ -241,7 +241,8 @@ class PostProcessingSuggestionServiceMiddlewareTests: XCTestCase {
241241 id: " 1 " ,
242242 text: " hello world " ,
243243 position: . init( line: 0 , character: 1 ) ,
244- range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) )
244+ range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) ) ,
245+ middlewareComments: [ " Removed redundant closing parenthesis. " ]
245246 ) ,
246247 ] )
247248 }
@@ -275,7 +276,8 @@ class PostProcessingSuggestionServiceMiddlewareTests: XCTestCase {
275276 id: " 1 " ,
276277 text: " " ,
277278 position: . init( line: 0 , character: 0 ) ,
278- range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 0 ) )
279+ range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 0 ) ) ,
280+ middlewareComments: [ " Removed redundant closing parenthesis. " ]
279281 ) ,
280282 ] )
281283 }
@@ -309,7 +311,8 @@ class PostProcessingSuggestionServiceMiddlewareTests: XCTestCase {
309311 id: " 1 " ,
310312 text: " hello world " ,
311313 position: . init( line: 0 , character: 1 ) ,
312- range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) )
314+ range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) ) ,
315+ middlewareComments: [ " Removed redundant closing parenthesis. " ]
313316 ) ,
314317 ] )
315318 }
@@ -343,7 +346,8 @@ class PostProcessingSuggestionServiceMiddlewareTests: XCTestCase {
343346 id: " 1 " ,
344347 text: " hello world " ,
345348 position: . init( line: 0 , character: 1 ) ,
346- range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) )
349+ range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) ) ,
350+ middlewareComments: [ " Removed redundant closing parenthesis. " ]
347351 ) ,
348352 ] )
349353 }
@@ -377,7 +381,8 @@ class PostProcessingSuggestionServiceMiddlewareTests: XCTestCase {
377381 id: " 1 " ,
378382 text: " hello world " ,
379383 position: . init( line: 0 , character: 1 ) ,
380- range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) )
384+ range: . init( startPair: ( 0 , 0 ) , endPair: ( 0 , 1 ) ) ,
385+ middlewareComments: [ " Removed redundant closing parenthesis. " ]
381386 ) ,
382387 ] )
383388 }
0 commit comments