Skip to content

Commit 2c124f1

Browse files
authored
Firestore: review serializer tests (#13915)
1 parent af39ebe commit 2c124f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firestore/core/test/unit/remote/serializer_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,13 +1078,13 @@ TEST_F(SerializerTest, EncodesEmptyDocument) {
10781078
TEST_F(SerializerTest, EncodesNonEmptyDocument) {
10791079
DocumentKey key = DocumentKey::FromPathString("path/to/the/doc");
10801080
ObjectValue fields{
1081-
Map("foo", "bar", "two", 2, "nested", Map("fourty-two", 42))};
1081+
Map("foo", "bar", "two", 2, "nested", Map("forty-two", 42))};
10821082
SnapshotVersion update_time = SnapshotVersion{{1234, 5678}};
10831083

10841084
v1::Value inner_proto;
10851085
google::protobuf::Map<std::string, v1::Value>& inner_fields =
10861086
*inner_proto.mutable_map_value()->mutable_fields();
1087-
inner_fields["fourty-two"] = ValueProto(int64_t{42});
1087+
inner_fields["forty-two"] = ValueProto(int64_t{42});
10881088

10891089
v1::BatchGetDocumentsResponse proto;
10901090
v1::Document* doc_proto = proto.mutable_found();

0 commit comments

Comments
 (0)