Index: components/variations/variations_seed_processor_unittest.cc |
diff --git a/components/variations/variations_seed_processor_unittest.cc b/components/variations/variations_seed_processor_unittest.cc |
index cbf0864cdd2bbf6931d2a19f8a5c67b444db0078..e03fcd989a7d2915df0012d35a87476b70057989 100644 |
--- a/components/variations/variations_seed_processor_unittest.cc |
+++ b/components/variations/variations_seed_processor_unittest.cc |
@@ -399,9 +399,8 @@ TEST_F(VariationsSeedProcessorTest, CheckStudyVersion) { |
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(min_test_cases); ++i) { |
filter.set_min_version(min_test_cases[i].min_version); |
- const bool result = |
- seed_processor.CheckStudyVersion(filter, |
- Version(min_test_cases[i].version)); |
+ const bool result = seed_processor.CheckStudyVersion( |
+ filter, base::Version(min_test_cases[i].version)); |
EXPECT_EQ(min_test_cases[i].expected_result, result) << |
"Min. version case " << i << " failed!"; |
} |
@@ -409,9 +408,8 @@ TEST_F(VariationsSeedProcessorTest, CheckStudyVersion) { |
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(max_test_cases); ++i) { |
filter.set_max_version(max_test_cases[i].max_version); |
- const bool result = |
- seed_processor.CheckStudyVersion(filter, |
- Version(max_test_cases[i].version)); |
+ const bool result = seed_processor.CheckStudyVersion( |
+ filter, base::Version(max_test_cases[i].version)); |
EXPECT_EQ(max_test_cases[i].expected_result, result) << |
"Max version case " << i << " failed!"; |
} |
@@ -423,16 +421,14 @@ TEST_F(VariationsSeedProcessorTest, CheckStudyVersion) { |
filter.set_max_version(max_test_cases[j].max_version); |
if (!min_test_cases[i].expected_result) { |
- const bool result = |
- seed_processor.CheckStudyVersion( |
- filter, Version(min_test_cases[i].version)); |
+ const bool result = seed_processor.CheckStudyVersion( |
+ filter, base::Version(min_test_cases[i].version)); |
EXPECT_FALSE(result) << "Case " << i << "," << j << " failed!"; |
} |
if (!max_test_cases[j].expected_result) { |
- const bool result = |
- seed_processor.CheckStudyVersion( |
- filter, Version(max_test_cases[j].version)); |
+ const bool result = seed_processor.CheckStudyVersion( |
+ filter, base::Version(max_test_cases[j].version)); |
EXPECT_FALSE(result) << "Case " << i << "," << j << " failed!"; |
} |
} |