We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e4f56 commit 77ef84bCopy full SHA for 77ef84b
Tests/PackageLoading/ConventionTests.swift
@@ -518,6 +518,12 @@ class ConventionTests: XCTestCase {
518
result.checkDiagnostic("these referenced modules could not be found: Random fix: reference only valid modules")
519
}
520
521
+ // Reference an invalid dependency.
522
+ package = PackageDescription.Package(name: "pkg", targets: [Target(name: "pkg", dependencies: ["Foo"])])
523
+ PackageBuilderTester(package, in: fs) { result in
524
+ result.checkDiagnostic("these referenced modules could not be found: Foo fix: reference only valid modules")
525
+ }
526
+
527
// Executable as dependency.
528
// FIXME: maybe should support this and condiser it as build order dependency.
529
fs = InMemoryFileSystem()
0 commit comments