Commit 5224abc6 authored by Drew's avatar Drew

Implement swift parameter renaming for XCTest on OSX

parent 3bfb43b7
......@@ -43,11 +43,11 @@ 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"
s += "public func XCTMain(testCases: [XCTestCase]) {\n"
s += "public func XCTMain(_ testCases: [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