aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/test/firebase/firestore/model/field_path_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/core/test/firebase/firestore/model/field_path_test.cc')
-rw-r--r--Firestore/core/test/firebase/firestore/model/field_path_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/Firestore/core/test/firebase/firestore/model/field_path_test.cc b/Firestore/core/test/firebase/firestore/model/field_path_test.cc
index a5ae3b2..a215a96 100644
--- a/Firestore/core/test/firebase/firestore/model/field_path_test.cc
+++ b/Firestore/core/test/firebase/firestore/model/field_path_test.cc
@@ -47,7 +47,7 @@ TEST(FieldPath, Constructors) {
EXPECT_EQ(path_from_list, copied);
const FieldPath moved = std::move(copied);
EXPECT_EQ(path_from_list, moved);
- EXPECT_NE(copied, moved);
+ EXPECT_NE(copied, moved); // NOLINT: use after move intended
EXPECT_EQ(empty_path, copied);
}
@@ -68,7 +68,7 @@ TEST(FieldPath, PopFirst) {
const FieldPath bc{"Eros", "messages"};
const FieldPath c{"messages"};
const FieldPath empty;
- const FieldPath abc_dupl{"rooms", "Eros", "messages"};
+ const FieldPath abc_dup{"rooms", "Eros", "messages"};
EXPECT_NE(empty, c);
EXPECT_NE(c, bc);
@@ -77,7 +77,7 @@ TEST(FieldPath, PopFirst) {
EXPECT_EQ(bc, abc.PopFirst());
EXPECT_EQ(c, abc.PopFirst(2));
EXPECT_EQ(empty, abc.PopFirst(3));
- EXPECT_EQ(abc_dupl, abc);
+ EXPECT_EQ(abc_dup, abc);
}
TEST(FieldPath, PopLast) {
@@ -85,7 +85,7 @@ TEST(FieldPath, PopLast) {
const FieldPath ab{"rooms", "Eros"};
const FieldPath a{"rooms"};
const FieldPath empty;
- const FieldPath abc_dupl{"rooms", "Eros", "messages"};
+ const FieldPath abc_dup{"rooms", "Eros", "messages"};
EXPECT_EQ(ab, abc.PopLast());
EXPECT_EQ(a, abc.PopLast().PopLast());