summaryrefslogtreecommitdiff
path: root/Rx/v2/test
diff options
context:
space:
mode:
authorGrigoriy Chudnov <g.chudnov@gmail.com>2016-12-22 11:29:58 +0300
committerKirk Shoop <kirk.shoop@microsoft.com>2016-12-22 00:29:58 -0800
commitbb0871143b4beeb1947a7cedfa78bf3d8259a283 (patch)
treef3ea085785df83711b5d4bdf1bfbc100bcfd22df /Rx/v2/test
parentc11c2d727c25dce0bdc34fa7fd850b31dd66ccf8 (diff)
downloadRxCpp-bb0871143b4beeb1947a7cedfa78bf3d8259a283.tar.gz
decouple repeat from observable (#298)
* decouple repeat from observable * fix msvc
Diffstat (limited to 'Rx/v2/test')
-rw-r--r--Rx/v2/test/operators/repeat.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/repeat.cpp b/Rx/v2/test/operators/repeat.cpp
index d34f1b3..80c3c87 100644
--- a/Rx/v2/test/operators/repeat.cpp
+++ b/Rx/v2/test/operators/repeat.cpp
@@ -1,4 +1,6 @@
#include "../test.h"
+#include "rxcpp/operators/rx-repeat.hpp"
+
SCENARIO("repeat, basic test", "[repeat][operators]"){
GIVEN("cold observable of 3 ints."){
@@ -18,9 +20,9 @@ SCENARIO("repeat, basic test", "[repeat][operators]"){
auto res = w.start(
[&]() {
return xs
- .repeat()
+ | rxo::repeat()
// forget type to workaround lambda deduction bug on msvc 2013
- .as_dynamic();
+ | rxo::as_dynamic();
}
);