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:
parent
73a805c7f6
commit
d2bd75328b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue