From 850e7da2231142c1613d60f4b571885885c8154e Mon Sep 17 00:00:00 2001 From: elelel Date: Fri, 24 Feb 2017 15:15:10 +0000 Subject: Retry operator argument semantics fix (#362) * Fix retry operator's argument semantics * Rephrase comments in tries parameter desc --- Rx/v2/test/operators/retry.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Rx/v2/test') diff --git a/Rx/v2/test/operators/retry.cpp b/Rx/v2/test/operators/retry.cpp index 92c117f..c3d2aa6 100644 --- a/Rx/v2/test/operators/retry.cpp +++ b/Rx/v2/test/operators/retry.cpp @@ -119,7 +119,7 @@ SCENARIO("retry 0, basic test", "[retry][operators]") { SCENARIO("retry with failure", "[retry][operators]") { - GIVEN("hot observable of 3x4x7 ints with errors inbetween the groups. Retry 1. Must fail.") { + GIVEN("hot observable of 3x4x7 ints with errors inbetween the groups. Retry 2. Must fail.") { auto sc = rxsc::make_test(); auto w = sc.create_worker(); const rxsc::test::messages on; @@ -145,12 +145,12 @@ SCENARIO("retry with failure", "[retry][operators]") { on.completed(725) }); - WHEN("retry of 1 is launched with expected error before complete") { + WHEN("retry of 2 is launched with expected error before complete") { auto res = w.start( [&]() { return xs - .retry(1) + .retry(2) // forget type to workaround lambda deduction bug on msvc 2013 .as_dynamic(); }); -- cgit v1.2.3