Skip to content

Commit 7f804d3

Browse files
Fix lint
Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
1 parent 9719533 commit 7f804d3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎test/value_test.cpp‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ constexpr int64_t kExpectedInt64 = 456LL;
2323
constexpr int kTestVal5 = 5;
2424
constexpr int64_t kExpectedInt5 = 5LL;
2525
constexpr int kTestVal6 = 6;
26-
constexpr int64_t kExpectedInt64_6 = 6LL;
26+
constexpr int64_t kExpectedInt6 = 6LL;
2727
constexpr int kTestVal10 = 10;
2828
constexpr int64_t kExpectedInt10 = 10LL;
2929
constexpr int kTestVal11 = 11;
@@ -276,7 +276,7 @@ TEST(ValueTest, AssignmentOperator) {
276276

277277
EXPECT_NE(assigned_map_val, map_val);
278278
EXPECT_EQ(assigned_map_val.AsStructure()->at("key").AsInt(), kExpectedInt5);
279-
EXPECT_EQ(map_val.AsStructure()->at("key").AsInt(), kExpectedInt64_6);
279+
EXPECT_EQ(map_val.AsStructure()->at("key").AsInt(), kExpectedInt6);
280280
}
281281

282282
TEST(ValueTest, IsNumberHandlesIntAndDouble) {
@@ -313,7 +313,7 @@ TEST(ValueTest, AsNumberConversions) {
313313
kExpectedNegative5); // Rounds to nearest even
314314
}
315315

316-
TEST(ValueTest, EqualityOperator_BasicTypes) {
316+
TEST(ValueTest, EqualityOperatorBasicTypes) {
317317
EXPECT_TRUE(Value(true) == Value(true));
318318
EXPECT_FALSE(Value(true) == Value(false));
319319
EXPECT_TRUE(Value(kTestVal10) == Value(kTestVal10));
@@ -330,7 +330,7 @@ TEST(ValueTest, EqualityOperator_BasicTypes) {
330330
EXPECT_FALSE(Value(time1) == Value(time2));
331331
}
332332

333-
TEST(ValueTest, EqualityOperator_NumberCrossTypes) {
333+
TEST(ValueTest, EqualityOperatorNumberCrossTypes) {
334334
EXPECT_TRUE(Value(kTestVal5) == Value(kTestDouble50));
335335
EXPECT_TRUE(Value(kTestDouble50) == Value(kTestVal5));
336336
EXPECT_FALSE(Value(kTestVal5) == Value(kTestDouble51));
@@ -339,15 +339,15 @@ TEST(ValueTest, EqualityOperator_NumberCrossTypes) {
339339
Value(static_cast<double>(std::numeric_limits<int64_t>::max())));
340340
}
341341

342-
TEST(ValueTest, EqualityOperator_DifferentTypes) {
342+
TEST(ValueTest, EqualityOperatorDifferentTypes) {
343343
EXPECT_FALSE(Value(true) == Value(1));
344344
EXPECT_FALSE(Value(kTestVal10) == Value("10"));
345345
EXPECT_FALSE(Value(kTestDoublePi) == Value(true));
346346
EXPECT_FALSE(Value("hello") == Value());
347347
EXPECT_FALSE(Value() == Value(false));
348348
}
349349

350-
TEST(ValueTest, EqualityOperator_ComplexTypes) {
350+
TEST(ValueTest, EqualityOperatorComplexTypes) {
351351
std::map<std::string, Value> map1 = {{"a", Value(1)}, {"b", Value("x")}};
352352
std::map<std::string, Value> map2 = {{"a", Value(1)}, {"b", Value("x")}};
353353
std::map<std::string, Value> map3 = {{"a", Value(1)}, {"b", Value("y")}};

0 commit comments

Comments
 (0)