Skip to content

Commit 6575f37

Browse files
[TEST-ONLY] Fix emit-clang-header-min-access test
Fix the test for older swift-frontend and eliminate the warning.
1 parent 5116931 commit 6575f37

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
@@ -7994,7 +7994,7 @@ final class SwiftDriverTests: XCTestCase {
79947994
}
79957995
let jobs = try driver.planBuild().removingAutolinkExtractJobs()
79967996
XCTAssertEqual(jobs.count, 2)
7997-
try XCTAssertJobInvocationMatches(jobs[0], .flag("-emit-clang-header-min-access"), .flag("public"))
7997+
XCTAssertJobInvocationMatches(jobs[0], .flag("-emit-clang-header-min-access"), .flag("public"))
79987998
}
79997999

80008000
func testGccToolchainFlags() throws {

0 commit comments

Comments
 (0)