tests: fix incorrect len of data in Udp ReadSend (#95)

This commit is contained in:
Miigon 2017-07-25 15:40:18 -05:00 committed by Michele Caini
parent ba0a5a19d6
commit d25e19992e

View File

@ -79,7 +79,7 @@ TEST(Udp, ReadSend) {
server->recv();
auto dataSend = std::unique_ptr<char[]>(new char[2]{ 'b', 'c' });
client->send(uvw::Addr{ "127.0.0.1", 4242 }, std::move(dataSend), 1);
client->send(uvw::Addr{ "127.0.0.1", 4242 }, std::move(dataSend), 2);
loop->run();
}