Internal change

PiperOrigin-RevId: 363510487
This commit is contained in:
hai007
2021-03-17 14:39:28 -07:00
committed by Copybara-Service
parent a7b99e7509
commit b58acc99bc
@@ -57,6 +57,14 @@ TEST(CountDownLatch, LatchAwaitWithTimeoutCanExpire) {
EXPECT_FALSE(response.result());
}
TEST(CountDownLatch, InitialCountZero_AwaitDoesNotBlock) {
CountDownLatch latch(0);
auto response = latch.Await();
EXPECT_TRUE(response.Ok());
}
} // namespace
} // namespace nearby
} // namespace location