From e6a1ca28e5ff0fa59b6e4f3f033c84fd76a111cf Mon Sep 17 00:00:00 2001 From: subtly Date: Mon, 23 Mar 2015 15:31:03 +0100 Subject: [PATCH] fix test typo --- net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.cpp b/net.cpp index 2ecfafb82..7ba2d8a12 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)