Adjust USDS test.

This commit is contained in:
Sönke Ludwig 2017-01-15 22:05:07 +01:00
parent 672e1c951d
commit 87cf29dcdd

View file

@ -94,7 +94,7 @@ void testStream()
auto server = listenStream(baddr); auto server = listenStream(baddr);
StreamSocket client; StreamSocket client;
server.waitForConnections!((ref incoming) { server.waitForConnections!((ref incoming, scope addr) {
incoming.read!((status, bts) { incoming.read!((status, bts) {
assert(status == IOStatus.ok); assert(status == IOStatus.ok);
assert(bts == pack1.length); assert(bts == pack1.length);