summaryrefslogtreecommitdiff
path: root/Rx/v2/test
diff options
context:
space:
mode:
authorGrigoriy Chudnov <g.chudnov@gmail.com>2016-12-16 00:21:33 +0300
committerKirk Shoop <kirk.shoop@microsoft.com>2016-12-16 07:19:30 -0800
commit92e14a4ff831e0716b96788f1cb624f713e446ff (patch)
treef3415b983964989aface89383fc00d8f881f5fba /Rx/v2/test
parent2a8f3cc2102f4b4bf5bd3485f357db2a77863168 (diff)
downloadRxCpp-92e14a4ff831e0716b96788f1cb624f713e446ff.tar.gz
decouple retry from observable
Diffstat (limited to 'Rx/v2/test')
-rw-r--r--Rx/v2/test/operators/retry.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/retry.cpp b/Rx/v2/test/operators/retry.cpp
index 12a7fc3..fa1b6f7 100644
--- a/Rx/v2/test/operators/retry.cpp
+++ b/Rx/v2/test/operators/retry.cpp
@@ -1,4 +1,6 @@
#include "../test.h"
+#include "rxcpp/operators/rx-retry.hpp"
+
SCENARIO("retry, basic test", "[retry][operators]") {
GIVEN("hot observable of 3x4x7 ints with errors inbetween the groups. Infinite retry.") {
@@ -32,9 +34,9 @@ SCENARIO("retry, basic test", "[retry][operators]") {
auto res = w.start(
[&]() {
return xs
- .retry()
+ | rxo::retry()
// forget type to workaround lambda deduction bug on msvc 2013
- .as_dynamic();
+ | rxo::as_dynamic();
}
);