Skip to content

Commit 60931b1

Browse files
committed
[Test] Static stdlib error check correction
1 parent 223c230 commit 60931b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ final class SwiftDriverTests: XCTestCase {
15431543

15441544
XCTAssertThrowsError(try Driver(args: ["swiftc", "-c", "-static-stdlib",
15451545
"foo.swift"])) { error in
1546-
guard case DarwinToolchain.ToolchainValidationError.argumentNotSupportedForPlatform("-static-stdlib", "Apple") = error else {
1546+
guard case DarwinToolchain.ToolchainValidationError.argumentNotSupported("-static-stdlib") = error else {
15471547
XCTFail()
15481548
return
15491549
}

0 commit comments

Comments
 (0)