summaryrefslogtreecommitdiff
path: root/Rx/v2/test
diff options
context:
space:
mode:
authorGrigoriy Chudnov <g.chudnov@gmail.com>2016-12-29 00:30:56 +0300
committerKirk Shoop <kirk.shoop@microsoft.com>2016-12-28 14:12:12 -0800
commit2d10ccfb03439536bbe99cd750b30a4bdf7c31ce (patch)
tree8b9da758ece1ae46edc82741a6d6115bac3db116 /Rx/v2/test
parentac66697bfe72539e6c3ef2f633ae5dfeb589234d (diff)
downloadRxCpp-2d10ccfb03439536bbe99cd750b30a4bdf7c31ce.tar.gz
decouple time_interval from observable
Diffstat (limited to 'Rx/v2/test')
-rw-r--r--Rx/v2/test/operators/time_interval.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rx/v2/test/operators/time_interval.cpp b/Rx/v2/test/operators/time_interval.cpp
index 75fdae3..aa5f476 100644
--- a/Rx/v2/test/operators/time_interval.cpp
+++ b/Rx/v2/test/operators/time_interval.cpp
@@ -1,4 +1,5 @@
#include "../test.h"
+#include "rxcpp/operators/rx-time_interval.hpp"
using namespace std::chrono;
@@ -18,7 +19,8 @@ SCENARIO("should not emit time intervals if the source never emits any items", "
auto res = w.start(
[xs]() {
- return xs.time_interval();
+ return xs
+ | rxo::time_interval();
}
);