Skip to content

Commit 84400cf

Browse files
committed
Add tests to prove the fix
1 parent e7879c5 commit 84400cf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

firestore/integration_test_internal/src/field_value_test.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,5 +367,12 @@ TEST_F(FieldValueTest, TestIncrementChoosesTheCorrectType) {
367367
// clang-format on
368368
}
369369

370+
TEST_F(FieldValueTest, TestArenaRefMinimunLimit) {
371+
std::vector<FieldValue> numbers;
372+
for (size_t i = 0U; i < 60000; i++) {
373+
numbers.push_back(FieldValue::Integer(i));
374+
}
375+
}
376+
370377
} // namespace firestore
371378
} // namespace firebase

0 commit comments

Comments
 (0)