Adjust USDS test.
This commit is contained in:
parent
672e1c951d
commit
87cf29dcdd
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue