summaryrefslogtreecommitdiff
path: root/Rx/v2/test
diff options
context:
space:
mode:
authorGrigoriy Chudnov <g.chudnov@gmail.com>2017-01-14 01:21:53 +0300
committerKirk Shoop <kirk.shoop@microsoft.com>2017-01-13 14:21:53 -0800
commit7923baae257f7036eea164d30055756e88cea498 (patch)
tree0132149172a41458e08af8eaa937154bddf2dba9 /Rx/v2/test
parentdd1702ba6e6ff5ed622d44964f11f938ca5e23a4 (diff)
downloadRxCpp-7923baae257f7036eea164d30055756e88cea498.tar.gz
decouple tap from observable (#328)
* decouple tap from observable * decouple tap from observable - fix clang
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();
}
);