diff options
author | Kirk Shoop <kirk.shoop@microsoft.com> | 2017-04-10 22:33:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 22:33:25 -0700 |
commit | b41b15f1daf97519433742ff86adad9d0ae8acdd (patch) | |
tree | c757bdadd68ab444a556aa6e6a7476a516af4a65 /Rx/v2/test/operators/window_toggle.cpp | |
parent | 201dd99b6494564c9e8990d0a5c32b23431128d4 (diff) | |
download | RxCpp-b41b15f1daf97519433742ff86adad9d0ae8acdd.tar.gz |
fix async lifetime in window_toggle (#372)
Diffstat (limited to 'Rx/v2/test/operators/window_toggle.cpp')
-rw-r--r-- | Rx/v2/test/operators/window_toggle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/window_toggle.cpp b/Rx/v2/test/operators/window_toggle.cpp index fc9088b..b85c1ba 100644 --- a/Rx/v2/test/operators/window_toggle.cpp +++ b/Rx/v2/test/operators/window_toggle.cpp @@ -35,7 +35,7 @@ SCENARIO("window toggle, basic", "[window_toggle][operators]"){ WHEN("ints are split into windows"){ using namespace std::chrono; - + int wi = 0; auto res = w.start( @@ -310,7 +310,7 @@ SCENARIO("window toggle, disposed", "[window_toggle][operators]"){ THEN("there was one subscription and one unsubscription to the observable"){ auto required = rxu::to_vector({ - o_on.subscribe(200, 590) + o_on.subscribe(200, 420) }); auto actual = xs.subscriptions(); REQUIRE(required == actual); |