Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6039cf1 authored by Ken Chen's avatar Ken Chen
Browse files

[Test][CleanUp] Delete unused code

I198bbea3543 changed the value of the invalid input from -1 to 0. So the code for negative input is no longer required.

Change-Id: I279f3cb5b8cea72c2774182b41cd26378604cb58
Test: presubmit
parent 7656f200
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -630,9 +630,6 @@ class ResolvCacheParameterizedTest : public ResolvCacheTest,
INSTANTIATE_TEST_SUITE_P(MaxCacheEntries, ResolvCacheParameterizedTest,
                         testing::Values(MAX_ENTRIES_LOWER_BOUND - 1, MAX_ENTRIES_UPPER_BOUND + 1),
                         [](const testing::TestParamInfo<int>& info) {
                             if (info.param < 0) {  // '-' is an invalid character in test name
                                 return "negative_" + std::to_string(abs(info.param));
                             }
                             return std::to_string(info.param);
                         });