@@ -463,6 +463,7 @@ class PluginTests: XCTestCase {
463
463
accessibleTools: [ : ] ,
464
464
writableDirectories: [ pluginDir. appending ( component: " output " ) ] ,
465
465
readOnlyDirectories: [ package . path] ,
466
+ pkgConfigDirectories: [ ] ,
466
467
fileSystem: localFileSystem,
467
468
observabilityScope: observability. topScope,
468
469
callbackQueue: delegateQueue,
@@ -645,10 +646,14 @@ class PluginTests: XCTestCase {
645
646
XCTAssertNoDiagnostics ( observability. diagnostics)
646
647
XCTAssert ( packageGraph. packages. count == 1 , " \( packageGraph. packages) " )
647
648
XCTAssert ( packageGraph. rootPackages. count == 1 , " \( packageGraph. rootPackages) " )
648
- let package = try XCTUnwrap ( packageGraph. rootPackages. first)
649
+ let package : ResolvedPackage = try XCTUnwrap ( packageGraph. rootPackages. first)
649
650
650
651
// Find the regular target in our test package.
651
- let libraryTarget = try XCTUnwrap ( package . targets. map ( \. underlyingTarget) . first { $0. name == " MyLibrary " } as? SwiftTarget )
652
+ let libraryTarget = try XCTUnwrap (
653
+ package . targets
654
+ . map ( \. underlyingTarget)
655
+ . first { $0. name == " MyLibrary " } as? SwiftTarget
656
+ )
652
657
XCTAssertEqual ( libraryTarget. type, . library)
653
658
654
659
// Set up a delegate to handle callbacks from the command plugin. In particular we want to know the process identifier.
@@ -724,6 +729,7 @@ class PluginTests: XCTestCase {
724
729
accessibleTools: [ : ] ,
725
730
writableDirectories: [ pluginDir. appending ( component: " output " ) ] ,
726
731
readOnlyDirectories: [ package . path] ,
732
+ pkgConfigDirectories: [ ] ,
727
733
fileSystem: localFileSystem,
728
734
observabilityScope: observability. topScope,
729
735
callbackQueue: delegateQueue,
0 commit comments