aboutsummaryrefslogtreecommitdiff
path: root/tests/resolv_cache_unit_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/resolv_cache_unit_test.cpp')
-rw-r--r--tests/resolv_cache_unit_test.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/resolv_cache_unit_test.cpp b/tests/resolv_cache_unit_test.cpp
index 9667d131..defd2da6 100644
--- a/tests/resolv_cache_unit_test.cpp
+++ b/tests/resolv_cache_unit_test.cpp
@@ -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);
});