Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero committed Jun 4, 2024
1 parent 7b90652 commit b04d49a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Node_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2037,9 +2037,9 @@ TEST(NodeTest, IgnoreLocalMessages)
EXPECT_TRUE(pub);

transport::SubscribeOptions opts;
EXPECT_FALSE(opts.IgnoreLocalMessages())
EXPECT_FALSE(opts.IgnoreLocalMessages());
opts.SetIgnoreLocalMessages(true);
EXPECT_TRUE(opts.IgnoreLocalMessages())
EXPECT_TRUE(opts.IgnoreLocalMessages());
EXPECT_TRUE(node.Subscribe(g_topic, cb, opts));

// Should be true the first time
Expand Down

0 comments on commit b04d49a

Please sign in to comment.