Skip to content

Commit 8f9556f

Browse files
authored
Tests: adjust windows librarian test slightly (#6450)
Use the unsuffixed version of the tool's spelling. Although we should accept the suffixed variant (which `clang` does do!) the lookup in SPM currently does not properly handle the path lookup with that.
1 parent f0eae33 commit 8f9556f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/PackageModelTests/PackageModelTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class PackageModelTests: XCTestCase {
124124
try XCTAssertEqual(
125125
UserToolchain.determineLibrarian(
126126
triple: triple, binDirectories: [bin], useXcrun: false, environment: [:], searchPaths: [],
127-
extraSwiftFlags: ["-Xswiftc", "-use-ld=not-link\(suffix)"]
127+
extraSwiftFlags: ["-Xswiftc", "-use-ld=not-link"]
128128
),
129129
not
130130
)

0 commit comments

Comments
 (0)