From 4ae8db546bde026c8c069cb41f5ea56d3674a468 Mon Sep 17 00:00:00 2001 From: Hannes Roth Date: Wed, 22 Jul 2015 09:35:19 -0700 Subject: [PATCH] (Wangle) window, fix test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Summary: Thanks @​peijinz for finding this. Reviewed By: @​peijinz Differential Revision: D2268532 --- folly/futures/test/WindowTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.34.1