diff options
| author | Sumo Gr <sumogr@mail.com> | 2020-04-18 18:04:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-18 18:04:20 +0300 |
| commit | f8b1480f95bd2710a506b6f9c5a06ed464464e61 (patch) | |
| tree | 29bb692103644f42b4d822e7ab9249a118cd3b95 /tests/unit_tests/levin.cpp | |
| parent | 57854a3e215c7bbad6f059d33b399063ff992de8 (diff) | |
| download | monzero-core-f8b1480f95bd2710a506b6f9c5a06ed464464e61.tar.gz monzero-core-f8b1480f95bd2710a506b6f9c5a06ed464464e61.tar.xz monzero-core-f8b1480f95bd2710a506b6f9c5a06ed464464e61.zip | |
unit_tests: fix gcc+ warning
Diffstat (limited to 'tests/unit_tests/levin.cpp')
| -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; } |
