projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c636ccb
)
(Wangle) window, fix test
author
Hannes Roth
<hannesr@fb.com>
Wed, 22 Jul 2015 16:35:19 +0000
(09:35 -0700)
committer
facebook-github-bot-4
<folly-bot@fb.com>
Wed, 22 Jul 2015 17:22:18 +0000
(10:22 -0700)
Summary: Thanks @peijinz for finding this.
Reviewed By: @peijinz
Differential Revision:
D2268532
folly/futures/test/WindowTest.cpp
patch
|
blob
|
history
diff --git
a/folly/futures/test/WindowTest.cpp
b/folly/futures/test/WindowTest.cpp
index a7e9b82801ab54085dd2942e35cd854d8246c2d3..86ea735502bdd38d08ea218862a8222a82cb9fa4 100644
(file)
--- 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<int>& b) {
return sum + *b;
@@
-52,7
+52,7
@@
TEST(Window, basic) {
fn(input, 4, 6);
}
{
- // empty inpt
+ // empty inp
u
t
std::vector<int> input;
fn(input, 1, 0);
}