diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-07-26 22:40:46 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-07-26 22:40:46 +0100 |
commit | 46188734f6634b2dc52a0052f4bc9ef786fdda6f (patch) | |
tree | 40b22850b65bdf9b71e211069b8b5c8e0e315e78 /tests | |
parent | unit_tests: check adding checkpoints succeeded (diff) | |
download | monero-46188734f6634b2dc52a0052f4bc9ef786fdda6f.tar.xz |
tests: fix a bitflag test typo
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/epee_levin_protocol_handler_async.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/epee_levin_protocol_handler_async.cpp b/tests/unit_tests/epee_levin_protocol_handler_async.cpp index dd0ca1549..ca110eb59 100644 --- a/tests/unit_tests/epee_levin_protocol_handler_async.cpp +++ b/tests/unit_tests/epee_levin_protocol_handler_async.cpp @@ -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_FALSE(resp_head.m_have_to_return_data); 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) |