summaryrefslogtreecommitdiff
path: root/Rx/v2/test
diff options
context:
space:
mode:
authorGrigoriy Chudnov <g.chudnov@gmail.com>2017-01-07 00:10:24 +0300
committerKirk Shoop <kirk.shoop@microsoft.com>2017-01-06 14:44:03 -0800
commit36b3d8c855002fbfb4e1b17258bab4a0702d6e54 (patch)
tree28530e1e5fcb023b2599d5b8a7af320731e495f2 /Rx/v2/test
parentb343f852570a1808c083cc8f6901e6febb46d892 (diff)
downloadRxCpp-36b3d8c855002fbfb4e1b17258bab4a0702d6e54.tar.gz
decouple take_last from observable
Diffstat (limited to 'Rx/v2/test')
-rw-r--r--Rx/v2/test/operators/take_last.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/take_last.cpp b/Rx/v2/test/operators/take_last.cpp
index 82d8696..76228f0 100644
--- a/Rx/v2/test/operators/take_last.cpp
+++ b/Rx/v2/test/operators/take_last.cpp
@@ -1,4 +1,5 @@
#include "../test.h"
+#include <rxcpp/operators/rx-take_last.hpp>
SCENARIO("take last 0", "[take_last][operators]"){
GIVEN("a source"){
@@ -20,9 +21,9 @@ SCENARIO("take last 0", "[take_last][operators]"){
auto res = w.start(
[xs]() {
return xs
- .take_last(0)
+ | rxo::take_last(0)
// forget type to workaround lambda deduction bug on msvc 2013
- .as_dynamic();
+ | rxo::as_dynamic();
}
);