Commit 4ae8db54 authored by Hannes Roth's avatar Hannes Roth Committed by facebook-github-bot-4

(Wangle) window, fix test

Summary: Thanks @​peijinz for finding this.

Reviewed By: @​peijinz

Differential Revision: D2268532
parent c636ccbe
...@@ -34,7 +34,7 @@ TEST(Window, basic) { ...@@ -34,7 +34,7 @@ TEST(Window, basic) {
window( window(
input, input,
[](int i) { return makeFuture(i); }, [](int i) { return makeFuture(i); },
2), window_size),
0, 0,
[](int sum, const Try<int>& b) { [](int sum, const Try<int>& b) {
return sum + *b; return sum + *b;
...@@ -52,7 +52,7 @@ TEST(Window, basic) { ...@@ -52,7 +52,7 @@ TEST(Window, basic) {
fn(input, 4, 6); fn(input, 4, 6);
} }
{ {
// empty inpt // empty input
std::vector<int> input; std::vector<int> input;
fn(input, 1, 0); fn(input, 1, 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment