add rest of emitWithAck for objc test

This commit is contained in:
Erik 2016-04-27 18:32:38 -04:00
parent 8e1434e63b
commit 82e7882497
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,9 @@
} }
- (void)testEmitWithAckSyntax { - (void)testEmitWithAckSyntax {
[self.socket emitWithAck:@"testAckEmit" withItems:@[@YES]]; [self.socket emitWithAck:@"testAckEmit" withItems:@[@YES]](0, ^(NSArray* data) {
});
} }
- (void)testOffSyntax { - (void)testOffSyntax {

View File

@ -105,7 +105,6 @@ extension SocketEnginePollable {
return return
} }
DefaultSocketLogger.Logger.log("Doing polling request", type: "SocketEnginePolling") DefaultSocketLogger.Logger.log("Doing polling request", type: "SocketEnginePolling")
session?.dataTaskWithRequest(req, completionHandler: callback).resume() session?.dataTaskWithRequest(req, completionHandler: callback).resume()