@@ -420,11 +420,11 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
420
420
" TargetB " : [
421
421
Diagnostic (
422
422
behavior: . error,
423
- location: Diagnostic . Location. path ( projectXCConfigPath, line: 0 , column: 0 ) ,
423
+ location: Diagnostic . Location. path ( projectXCConfigPath, line: . max , column: . max ) ,
424
424
data: DiagnosticData ( " Missing entries in MODULE_DEPENDENCIES: Foundation " ) ,
425
425
fixIts: [
426
426
Diagnostic . FixIt (
427
- sourceRange: Diagnostic . SourceRange ( path: projectXCConfigPath, startLine: 0 , startColumn: 0 , endLine: 0 , endColumn: 0 ) ,
427
+ sourceRange: Diagnostic . SourceRange ( path: projectXCConfigPath, startLine: . max , startColumn: . max , endLine: . max , endColumn: . max ) ,
428
428
newText: " \n MODULE_DEPENDENCIES[target=TargetB] = $(inherited) Foundation \n " ) ,
429
429
] ,
430
430
childDiagnostics: [
@@ -433,7 +433,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
433
433
location: Diagnostic . Location. path ( swiftSourcePath, line: 1 , column: 8 ) ,
434
434
data: DiagnosticData ( " Missing entry in MODULE_DEPENDENCIES: Foundation " ) ,
435
435
fixIts: [ Diagnostic . FixIt (
436
- sourceRange: Diagnostic . SourceRange ( path: projectXCConfigPath, startLine: 0 , startColumn: 0 , endLine: 0 , endColumn: 0 ) ,
436
+ sourceRange: Diagnostic . SourceRange ( path: projectXCConfigPath, startLine: . max , startColumn: . max , endLine: . max , endColumn: . max ) ,
437
437
newText: " \n MODULE_DEPENDENCIES[target=TargetB] = $(inherited) Foundation \n " ) ] ,
438
438
) ,
439
439
] ) ,
0 commit comments