aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-26 22:40:46 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-26 22:40:46 +0100
commit46188734f6634b2dc52a0052f4bc9ef786fdda6f (patch)
tree40b22850b65bdf9b71e211069b8b5c8e0e315e78 /tests
parentunit_tests: check adding checkpoints succeeded (diff)
downloadmonero-46188734f6634b2dc52a0052f4bc9ef786fdda6f.tar.xz
tests: fix a bitflag test typo
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/epee_levin_protocol_handler_async.cpp2
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)