aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-04-06 12:24:29 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-04-06 12:24:29 -0500
commit1475236810aa6ce4b5cfd9c9ab6b640716266797 (patch)
treef5c8a34ad3ef69357dbfa42fbe9fb0db18523fb1 /tests
parentMerge pull request #7635 (diff)
parentWarnings: fix ut/levin.cpp missing braces (diff)
downloadmonero-1475236810aa6ce4b5cfd9c9ab6b640716266797.tar.xz
Merge pull request #7639
53683d7 Warnings: fix ut/levin.cpp missing braces (mj-xmr)
Diffstat (limited to 'tests')
-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());