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 c3aba09 commit 67e2c35Copy full SHA for 67e2c35
Tests/TSCUtilityTests/PkgConfigParserTests.swift
@@ -16,7 +16,7 @@ import TSCTestSupport
16
17
final class PkgConfigParserTests: XCTestCase {
18
func testCircularPCFile() throws {
19
- XCTAssertTrue(try PkgConfig(name: "harfbuzz", additionalSearchPaths: [AbsolutePath("/custom")], diagnostics: DiagnosticsEngine(), brewPrefix: nil).diagnostics.diagnostics.contains { diagnostic in
+ XCTAssertTrue(try PkgConfig(name: "harfbuzz", additionalSearchPaths: [AbsolutePath(#file).parentDirectory.appending(components: "pkgconfigInputs")], diagnostics: DiagnosticsEngine(), brewPrefix: nil).diagnostics.diagnostics.contains { diagnostic in
20
diagnostic.message.text == "circular dependency detected while parsing harfbuzz: harfbuzz -> freetype2 -> harfbuzz"
21
})
22
}
0 commit comments