Skip to content

Commit ba13765

Browse files
authored
Minor fixes to Firestore Source Tests. (#411)
1 parent 4e5f8e4 commit ba13765

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

firestore/integration_test_internal/src/source_test.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#include <future>
2+
#include <map>
3+
#include <string>
24

35
#include "firebase/firestore.h"
46
#include "firestore_integration_test.h"
@@ -257,7 +259,7 @@ TEST_F(SourceTest, GetDocumentWhileOfflineWithDifferentGetOptions) {
257259
error_promise.set_value(error_code);
258260
});
259261
// Note that future::get() will wait until the future has a valid result and
260-
// retrieves it. Calling wait() before get() is not needed.
262+
// retrieve it. Calling wait() before get() is not needed.
261263
Error error_code = error_future.get();
262264
EXPECT_EQ(error_code, kErrorNone);
263265

@@ -311,7 +313,7 @@ TEST_F(SourceTest, GetCollectionWhileOfflineWithDifferentGetOptions) {
311313
error_promise.set_value(error_code);
312314
});
313315
// Note that future::get() will wait until the future has a valid result and
314-
// retrieves it. Calling wait() before get() is not needed.
316+
// retrieve it. Calling wait() before get() is not needed.
315317
Error error_code = error_future.get();
316318
EXPECT_EQ(error_code, kErrorNone);
317319

0 commit comments

Comments
 (0)