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 | |
| parent | ae18ec080c6828a47b6a6cb6421b9cb3f81c88ef (diff) | |
| parent | f8b1480f95bd2710a506b6f9c5a06ed464464e61 (diff) | |
| download | monzero-core-a5cc613a68e5c8edca7c9816b1a3d8e4c60e5eb6.tar.gz monzero-core-a5cc613a68e5c8edca7c9816b1a3d8e4c60e5eb6.tar.xz monzero-core-a5cc613a68e5c8edca7c9816b1a3d8e4c60e5eb6.zip | |
Merge pull request #6460
f8b1480 unit_tests: fix gcc+ warning (sumogr)
| -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; } |
