You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return"Source files for target \(target) should be located under '\(folderName)/\(target)', or a custom sources path can be set with the 'path' property in Package.swift"
Copy file name to clipboardExpand all lines: Tests/PackageGraphTests/PackageGraphTests.swift
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ class PackageGraphTests: XCTestCase {
291
291
)
292
292
293
293
testDiagnostics(observability.diagnostics){ result in
294
-
result.check(diagnostic:"multiple targets named 'Bar' in: 'bar', 'foo'", severity:.error)
294
+
result.check(diagnostic:"multiple targets named 'Bar' in: 'bar', 'foo'; consider using the `moduleAliases` parameter in manifest to provide unique names", severity:.error)
295
295
}
296
296
}
297
297
@@ -350,7 +350,7 @@ class PackageGraphTests: XCTestCase {
350
350
)
351
351
352
352
testDiagnostics(observability.diagnostics){ result in
353
-
result.check(diagnostic:"multiple targets named 'First' in: 'first', 'fourth', 'second', 'third'", severity:.error)
353
+
result.check(diagnostic:"multiple targets named 'First' in: 'first', 'fourth', 'second', 'third'; consider using the `moduleAliases` parameter in manifest to provide unique names", severity:.error)
354
354
}
355
355
}
356
356
@@ -409,8 +409,8 @@ class PackageGraphTests: XCTestCase {
409
409
)
410
410
411
411
testDiagnostics(observability.diagnostics){ result in
412
-
result.check(diagnostic:"multiple targets named 'Bar' in: 'fourth', 'third'", severity:.error)
413
-
result.check(diagnostic:"multiple targets named 'Foo' in: 'first', 'second'", severity:.error)
412
+
result.check(diagnostic:"multiple targets named 'Bar' in: 'fourth', 'third'; consider using the `moduleAliases` parameter in manifest to provide unique names", severity:.error)
413
+
result.check(diagnostic:"multiple targets named 'Foo' in: 'first', 'second'; consider using the `moduleAliases` parameter in manifest to provide unique names", severity:.error)
414
414
}
415
415
}
416
416
@@ -476,7 +476,7 @@ class PackageGraphTests: XCTestCase {
476
476
)
477
477
478
478
testDiagnostics(observability.diagnostics){ result in
479
-
result.check(diagnostic:"multiple targets named 'First' in: 'first', 'fourth'", severity:.error)
479
+
result.check(diagnostic:"multiple targets named 'First' in: 'first', 'fourth'; consider using the `moduleAliases` parameter in manifest to provide unique names", severity:.error)
480
480
}
481
481
}
482
482
@@ -950,7 +950,7 @@ class PackageGraphTests: XCTestCase {
950
950
)
951
951
952
952
testDiagnostics(observability.diagnostics){ result in
953
-
result.check(diagnostic:"multiple targets named 'Foo' in: 'dep2', 'start'", severity:.error)
953
+
result.check(diagnostic:"multiple targets named 'Foo' in: 'dep2', 'start'; consider using the `moduleAliases` parameter in manifest to provide unique names", severity:.error)
0 commit comments