@@ -54,12 +54,12 @@ TEST(@"-[remoteAddress]", [[accepted remoteAddress] isEqual: @"127.0.0.1"]) TEST(@"-[writeString:]", [client writeString: @"Hello!"]) - TEST(@"-[readNBytes:intoBuffer:]", [accepted readNBytes: 6 - intoBuffer: buf] && + TEST(@"-[readIntoBuffer:length:]", [accepted readIntoBuffer: buf + length: 6] && !memcmp(buf, "Hello!", 6)) [pool drain]; } @end