@@ -420,11 +420,11 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
420420 " TargetB " : [
421421 Diagnostic (
422422 behavior: . error,
423- location: Diagnostic . Location. path ( projectXCConfigPath, line: 0 , column: 0 ) ,
423+ location: Diagnostic . Location. path ( projectXCConfigPath, line: . max , column: . max ) ,
424424 data: DiagnosticData ( " Missing entries in MODULE_DEPENDENCIES: Foundation " ) ,
425425 fixIts: [
426426 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 ) ,
428428 newText: " \n MODULE_DEPENDENCIES[target=TargetB] = $(inherited) Foundation \n " ) ,
429429 ] ,
430430 childDiagnostics: [
@@ -433,7 +433,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
433433 location: Diagnostic . Location. path ( swiftSourcePath, line: 1 , column: 8 ) ,
434434 data: DiagnosticData ( " Missing entry in MODULE_DEPENDENCIES: Foundation " ) ,
435435 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 ) ,
437437 newText: " \n MODULE_DEPENDENCIES[target=TargetB] = $(inherited) Foundation \n " ) ] ,
438438 ) ,
439439 ] ) ,
0 commit comments