mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 01:12:39 +00:00
Warnings: fix ut/levin.cpp missing braces
This commit is contained in:
parent
dcba757dd2
commit
53683d7f90
1 changed files with 4 additions and 1 deletions
|
@ -664,8 +664,9 @@ TEST_F(levin_notify, stem_no_outs_without_padding)
|
||||||
ASSERT_LT(0u, io_service_.poll());
|
ASSERT_LT(0u, io_service_.poll());
|
||||||
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::fluff));
|
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::fluff));
|
||||||
if (events_.has_stem_txes())
|
if (events_.has_stem_txes())
|
||||||
|
{
|
||||||
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::stem));
|
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::stem));
|
||||||
|
}
|
||||||
|
|
||||||
notifier.run_fluff();
|
notifier.run_fluff();
|
||||||
ASSERT_LT(0u, io_service_.poll());
|
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());
|
ASSERT_LT(0u, io_service_.poll());
|
||||||
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::fluff));
|
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::fluff));
|
||||||
if (events_.has_stem_txes())
|
if (events_.has_stem_txes())
|
||||||
|
{
|
||||||
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::stem));
|
EXPECT_EQ(txs, events_.take_relayed(cryptonote::relay_method::stem));
|
||||||
|
}
|
||||||
|
|
||||||
notifier.run_fluff();
|
notifier.run_fluff();
|
||||||
ASSERT_LT(0u, io_service_.poll());
|
ASSERT_LT(0u, io_service_.poll());
|
||||||
|
|
Loading…
Reference in a new issue