summaryrefslogtreecommitdiff
path: root/Rx/v2/test
diff options
context:
space:
mode:
Diffstat (limited to 'Rx/v2/test')
-rw-r--r--Rx/v2/test/operators/tap.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/tap.cpp b/Rx/v2/test/operators/tap.cpp
index ca8b5f1..9aad159 100644
--- a/Rx/v2/test/operators/tap.cpp
+++ b/Rx/v2/test/operators/tap.cpp
@@ -1,4 +1,5 @@
#include "../test.h"
+#include <rxcpp/operators/rx-tap.hpp>
SCENARIO("tap stops on completion", "[tap][operators]"){
GIVEN("a test hot observable of ints"){
@@ -24,11 +25,11 @@ SCENARIO("tap stops on completion", "[tap][operators]"){
auto res = w.start(
[xs, &invoked]() {
return xs
- .tap([&invoked](int) {
+ | rxo::tap([&invoked](int) {
invoked++;
})
// forget type to workaround lambda deduction bug on msvc 2013
- .as_dynamic();
+ | rxo::as_dynamic();
}
);