Commit 041a50c9 authored by Chad Austin's avatar Chad Austin Committed by Facebook GitHub Bot

fix WindowTest on Windows

Summary: `unsigned long` and `size_t` are not the same type on Clang Windows.

Reviewed By: yfeldblum

Differential Revision: D34086667

fbshipit-source-id: adba5d960cb4c8b8e13b62f419d5b4179b1525e1
parent f4cb3709
...@@ -105,7 +105,7 @@ TEST(Window, basic) { ...@@ -105,7 +105,7 @@ TEST(Window, basic) {
5UL, 5UL,
[](size_t iteration) { return folly::makeFuture(iteration); }, [](size_t iteration) { return folly::makeFuture(iteration); },
2), 2),
0UL, size_t{0},
[](size_t sum, const Try<size_t>& b) { return sum + b.value(); }) [](size_t sum, const Try<size_t>& b) { return sum + b.value(); })
.get(); .get();
EXPECT_EQ(0 + 1 + 2 + 3 + 4, res); EXPECT_EQ(0 + 1 + 2 + 3 + 4, res);
......
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