aboutsummaryrefslogtreecommitdiffstats
path: root/net.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2015-03-23 22:31:03 +0800
committersubtly <subtly@users.noreply.github.com>2015-03-23 22:31:03 +0800
commite6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf (patch)
tree8bb60d37f65e356410c4fad3dd7ad8fca75f8c35 /net.cpp
parent272bd3c60c17fbe2444abcb816bc831f1382afe7 (diff)
downloaddexon-solidity-e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf.tar
dexon-solidity-e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf.tar.gz
dexon-solidity-e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf.tar.bz2
dexon-solidity-e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf.tar.lz
dexon-solidity-e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf.tar.xz
dexon-solidity-e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf.tar.zst
dexon-solidity-e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf.zip
fix test typo
Diffstat (limited to 'net.cpp')
-rw-r--r--net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.cpp b/net.cpp
index 2ecfafb8..7ba2d8a1 100644
--- a/net.cpp
+++ b/net.cpp
@@ -153,7 +153,7 @@ BOOST_AUTO_TEST_CASE(badPingNodePacket)
PingNode p((bi::udp::endpoint()));
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)