diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-05-01 15:50:19 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-05-01 15:50:19 -0500 |
commit | a5cc613a68e5c8edca7c9816b1a3d8e4c60e5eb6 (patch) | |
tree | 6f28a7ed41379dbe66b9253bf9e906a427407cbf /tests | |
parent | Merge pull request #6457 (diff) | |
parent | unit_tests: fix gcc+ warning (diff) | |
download | monero-a5cc613a68e5c8edca7c9816b1a3d8e4c60e5eb6.tar.xz |
Merge pull request #6460
f8b1480 unit_tests: fix gcc+ warning (sumogr)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/levin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit_tests/levin.cpp b/tests/unit_tests/levin.cpp index 62b101a42..d2ef920ef 100644 --- a/tests/unit_tests/levin.cpp +++ b/tests/unit_tests/levin.cpp @@ -583,7 +583,9 @@ TEST_F(levin_notify, stem_without_padding) { const std::size_t sent = context->process_send_queue(); if (sent && is_stem) + { EXPECT_EQ(1u, (context - contexts_.begin()) % 2); + } send_count += sent; } @@ -653,7 +655,9 @@ TEST_F(levin_notify, local_without_padding) { const std::size_t sent = context->process_send_queue(); if (sent && is_stem) + { EXPECT_EQ(1u, (context - contexts_.begin()) % 2); + } send_count += sent; } |