Skip to content

Commit

Permalink
Tests: Address warnings about unused results by adding missing assert…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
tshortli committed Aug 20, 2023
1 parent 56f498f commit 22916b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/SwiftDriverTests/SwiftDriverTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6863,8 +6863,8 @@ final class SwiftDriverTests: XCTestCase {
let jobs = try driver.planBuild().removingAutolinkExtractJobs()
XCTAssertEqual(jobs.count, 2)
let (compileJob, linkJob) = (jobs[0], jobs[1])
compileJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy"))
linkJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy"))
XCTAssert(compileJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy")))
XCTAssert(linkJob.commandLine.contains(.flag("--gcc-toolchain=foo/as/blarpy")))
}

func testPluginPaths() throws {
Expand Down

0 comments on commit 22916b3

Please sign in to comment.