Skip to content

Commit 22916b3

Browse files
committed
Tests: Address warnings about unused results by adding missing assertions.
1 parent 56f498f commit 22916b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6863,8 +6863,8 @@ final class SwiftDriverTests: XCTestCase {
68636863
let jobs = try driver.planBuild().removingAutolinkExtractJobs()
68646864
XCTAssertEqual(jobs.count, 2)
68656865
let (compileJob, linkJob) = (jobs[0], jobs[1])
6866-
compileJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy"))
6867-
linkJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy"))
6866+
XCTAssert(compileJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy")))
6867+
XCTAssert(linkJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy")))
68686868
}
68696869

68706870
func testPluginPaths() throws {

0 commit comments

Comments
 (0)