Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 14, 2024
1 parent 9000d5e commit 51d39eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/rpp/test_delay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ TEST_CASE("delay delays observable's emissions")

TEST_CASE("delay is not disposing early")
{
mock_observer<int> mock{};
mock_observer<int> mock{};
trompeloeil::sequence s{};

rpp::schedulers::test_scheduler scheduler{};
Expand All @@ -246,8 +246,8 @@ TEST_CASE("delay is not disposing early")
obs.set_upstream(d.value());
obs.on_completed();
})
| rpp::ops::delay(std::chrono::seconds{1}, scheduler)
| rpp::ops::subscribe(mock);
| rpp::ops::delay(std::chrono::seconds{1}, scheduler)
| rpp::ops::subscribe(mock);

CHECK(!d->is_disposed());
REQUIRE_CALL(*mock, on_completed()).LR_WITH(!d->is_disposed()).IN_SEQUENCE(s);
Expand Down

0 comments on commit 51d39eb

Please sign in to comment.