tests: fix incorrect len of data in Udp ReadSend (#95)
This commit is contained in:
parent
ba0a5a19d6
commit
d25e19992e
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user