From: Hannes Roth Date: Wed, 22 Jul 2015 16:35:19 +0000 (-0700) Subject: (Wangle) window, fix test X-Git-Tag: v0.52.0~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4ae8db546bde026c8c069cb41f5ea56d3674a468;p=folly.git (Wangle) window, fix test Summary: Thanks @​peijinz for finding this. Reviewed By: @​peijinz Differential Revision: D2268532 --- diff --git a/folly/futures/test/WindowTest.cpp b/folly/futures/test/WindowTest.cpp index a7e9b828..86ea7355 100644 --- a/folly/futures/test/WindowTest.cpp +++ b/folly/futures/test/WindowTest.cpp @@ -34,7 +34,7 @@ TEST(Window, basic) { window( input, [](int i) { return makeFuture(i); }, - 2), + window_size), 0, [](int sum, const Try& b) { return sum + *b; @@ -52,7 +52,7 @@ TEST(Window, basic) { fn(input, 4, 6); } { - // empty inpt + // empty input std::vector input; fn(input, 1, 0); }