Fix test code on linux (#37)

Motivation:

73a805c7f6 did some changes but missed to rename one variable. This broke the build on linux.

Modifications:

Rename fn to body.

Result:

Builds again on linux.
This commit is contained in:
Norman Maurer 2018-02-27 07:36:23 +09:00 committed by GitHub
parent 73a805c7f6
commit d2bd75328b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ public class EventLoopTest : XCTestCase {
t.affinity = set
XCTAssertEqual(set, t.affinity)
}
let threads: [ThreadInitializer] = [fn, body]
let threads: [ThreadInitializer] = [body, body]
let group = MultiThreadedEventLoopGroup(threadInitializers: threads)