mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix test typo
This commit is contained in:
parent
272bd3c60c
commit
e6a1ca28e5
2
net.cpp
2
net.cpp
@ -153,7 +153,7 @@ BOOST_AUTO_TEST_CASE(badPingNodePacket)
|
|||||||
|
|
||||||
PingNode p((bi::udp::endpoint()));
|
PingNode p((bi::udp::endpoint()));
|
||||||
BOOST_REQUIRE_NO_THROW(p = PingNode::fromBytesConstRef(bi::udp::endpoint(), bytesConstRef(&s.out())));
|
BOOST_REQUIRE_NO_THROW(p = PingNode::fromBytesConstRef(bi::udp::endpoint(), bytesConstRef(&s.out())));
|
||||||
BOOST_REQUIRE(p.version = 0);
|
BOOST_REQUIRE(p.version == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(test_neighbours_packet)
|
BOOST_AUTO_TEST_CASE(test_neighbours_packet)
|
||||||
|
Loading…
Reference in New Issue
Block a user