Skip to content

Commit 3236130

Browse files
authored
Merge pull request #75 from open-swift/08-04
Updating to August 4, 2016
2 parents b57c51e + aa75301 commit 3236130

File tree

9 files changed

+6
-6
lines changed

9 files changed

+6
-6
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DEVELOPMENT-SNAPSHOT-2016-07-25-a
1+
DEVELOPMENT-SNAPSHOT-2016-08-04-a

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import PackageDescription
33
let package = Package(
44
name: "S4",
55
dependencies: [
6-
.Package(url: "https://github.com/open-swift/C7.git", majorVersion: 0, minor: 10),
6+
.Package(url: "https://github.com/open-swift/C7.git", majorVersion: 0, minor: 12),
77
]
88
)

Sources/AsyncResponder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ public protocol AsyncResponder {
22
func respond(to request: Request, result: ((Void) throws -> Response) -> Void)
33
}
44

5-
public typealias AsyncRespond = (to: Request, result: ((Void) throws -> Response) -> Void) -> Void
5+
public typealias AsyncRespond = (_ to: Request, _ result: ((Void) throws -> Response) -> Void) -> Void
66

77
public struct BasicAsyncResponder: AsyncResponder {
88
let respond: AsyncRespond

Sources/Responder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public protocol ResponderRepresentable {
1212
var responder: Responder { get }
1313
}
1414

15-
public typealias Respond = (to: Request) throws -> Response
15+
public typealias Respond = (_ to: Request) throws -> Response
1616

1717
public struct BasicResponder: Responder {
1818
let respond: Respond

Tests/LinuxMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#if os(Linux)
22

33
import XCTest
4-
@testable import S4TestSuite
4+
@testable import S4Tests
55

66
XCTMain([
77
testCase(ExampleTests.allTests),
File renamed without changes.
File renamed without changes.
File renamed without changes.

Tests/S4/XcTest.swift renamed to Tests/S4Tests/XcTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22
import XCTest
33

44
extension XCTestCase {
5-
class func series(tasks asyncTasks: [((Void) -> Void) -> Void], completion: (Void) -> Void) {
5+
class func series(tasks asyncTasks: [((Void) -> Void) -> Void], completion: @escaping (Void) -> Void) {
66
var index = 0
77
func _series(_ current: (((Void) -> Void) -> Void)) {
88
current {

0 commit comments

Comments
 (0)