aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/levin.cpp
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-03-27 09:24:34 +0100
committermj-xmr <mjxmr@protonmail.com>2021-03-27 09:26:44 +0100
commit53683d7f905d8340b3ba91ead4e7e8890219bea8 (patch)
treec1c4385f5cf0479054c4aa3cade7ee94371c6a22 /tests/unit_tests/levin.cpp
parentMerge pull request #7619 (diff)
downloadmonero-53683d7f905d8340b3ba91ead4e7e8890219bea8.tar.xz
Warnings: fix ut/levin.cpp missing braces
Diffstat (limited to 'tests/unit_tests/levin.cpp')
-rw-r--r--tests/unit_tests/levin.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit_tests/levin.cpp b/tests/unit_tests/levin.cpp
index 53a7f7b67..eee9e224d 100644
--- a/tests/unit_tests/levin.cpp
+++ b/tests/unit_tests/levin.cpp
@@ -664,8 +664,9 @@ TEST_F(levin_notify, stem_no_outs_without_padding)
ASSERT_LT(0u, io_service_.poll());
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::fluff));
if (events_.has_stem_txes())
+ {
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::stem));
-
+ }
notifier.run_fluff();
ASSERT_LT(0u, io_service_.poll());
@@ -1034,7 +1035,9 @@ TEST_F(levin_notify, stem_no_outs_with_padding)
ASSERT_LT(0u, io_service_.poll());
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::fluff));
if (events_.has_stem_txes())
+ {
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::stem));
+ }
notifier.run_fluff();
ASSERT_LT(0u, io_service_.poll());