Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/tests/utils/disposable_observable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ void test_operator_over_observable_finish_before_dispose(auto&& op)
});

op(observable) | rpp::ops::subscribe([](const auto&) {}, [&callback_called](const std::exception_ptr&) { CHECK(!callback_called); });
CHECK(callback_called);
}

SECTION("operator calls on_completed before dispose")
Expand All @@ -74,6 +75,7 @@ void test_operator_over_observable_finish_before_dispose(auto&& op)
});

op(observable) | rpp::ops::subscribe([](const auto&) {}, [&callback_called]() { CHECK(!callback_called); });
CHECK(callback_called);
}
}

Expand Down