Commit 8765462e authored by Johannes Schriewer's avatar Johannes Schriewer

Squelch warning when compiling tests in current Swift snapshot

parent 91e83a24
Pipeline #2022 passed with stage
in 4 minutes and 24 seconds
......@@ -43,7 +43,7 @@ final class ATllbuild : Tool {
private static let xcTestCaseProvider: String = { () -> String in
var s = ""
s += "import XCTest\n"
s += "public func testCase<T: XCTestCase>(_ allTests: [(String, T -> () throws -> Void)]) -> XCTestCase {\n"
s += "public func testCase<T: XCTestCase>(_ allTests: [(String, (T) -> () throws -> Void)]) -> XCTestCase {\n"
s += " fatalError(\"Can't get here.\")\n"
s += "}\n"
s += "\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment