OFUNIXStreamSocketTests: Fix test description

FossilOrigin-Name: 4416be270ea185007d4337ce6439fda988d530f4ea1d9a0e5dab4c501f8f1bc1
This commit is contained in:
Jonathan Schleifer 2021-10-24 22:21:15 +00:00
parent f991ea4781
commit cddd14a57d

View file

@ -70,7 +70,7 @@ static OFString *const module = @"OFUNIXStreamSocket";
TEST(@"-[writeBuffer:length:]",
R([sockAccepted writeBuffer: "Hello" length: 5]))
TEST(@"-[receiveIntoBuffer:length:]",
TEST(@"-[readIntoBuffer:length:]",
[sockClient readIntoBuffer: buffer length: 5] == 5 &&
memcmp(buffer, "Hello", 5) == 0)