Skip to content

Commit c3aba09

Browse files
committed
[PkgConfig] fix tests
1 parent c91181b commit c3aba09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/TSCUtilityTests/PkgConfigParserTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import TSCTestSupport
1616

1717
final class PkgConfigParserTests: XCTestCase {
1818
func testCircularPCFile() throws {
19-
XCTAssertTrue(try PkgConfig(name: "harfbuzz", additionalSearchPaths: [pcFilePath("harfbuzz.pc")], diagnostics: DiagnosticsEngine(), brewPrefix: nil).diagnostics.diagnostics.contains { diagnostic in
19+
XCTAssertTrue(try PkgConfig(name: "harfbuzz", additionalSearchPaths: [AbsolutePath("/custom")], diagnostics: DiagnosticsEngine(), brewPrefix: nil).diagnostics.diagnostics.contains { diagnostic in
2020
diagnostic.message.text == "circular dependency detected while parsing harfbuzz: harfbuzz -> freetype2 -> harfbuzz"
2121
})
2222
}

0 commit comments

Comments
 (0)