tests: fix a bitflag test typo

This commit is contained in:
moneromooo-monero 2016-07-26 22:40:46 +01:00
parent 89e68d778d
commit 46188734f6
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -375,7 +375,7 @@ TEST_F(positive_test_connection_to_levin_protocol_handler_calls, handler_process
ASSERT_EQ(expected_out_data.size(), resp_head.m_cb); ASSERT_EQ(expected_out_data.size(), resp_head.m_cb);
ASSERT_FALSE(resp_head.m_have_to_return_data); ASSERT_FALSE(resp_head.m_have_to_return_data);
ASSERT_EQ(LEVIN_PROTOCOL_VER_1, resp_head.m_protocol_version); ASSERT_EQ(LEVIN_PROTOCOL_VER_1, resp_head.m_protocol_version);
ASSERT_TRUE(0 != (resp_head.m_flags | LEVIN_PACKET_RESPONSE)); ASSERT_TRUE(0 != (resp_head.m_flags & LEVIN_PACKET_RESPONSE));
} }
TEST_F(positive_test_connection_to_levin_protocol_handler_calls, handler_processes_handle_read_as_notify) TEST_F(positive_test_connection_to_levin_protocol_handler_calls, handler_processes_handle_read_as_notify)