summaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
Diffstat (limited to 'test/common')
-rw-r--r--test/common/testcommon.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/common/testcommon.cpp b/test/common/testcommon.cpp
index 0477509a..0f0f1f9a 100644
--- a/test/common/testcommon.cpp
+++ b/test/common/testcommon.cpp
@@ -739,8 +739,6 @@ int test(int argc, const char *argv[])
// Test ExcludeList
{
- TestLogger logger(Log::WARNING);
-
ExcludeList elist;
// Check assumption
TEST_THAT(Configuration::MultiValueSeparator == '\x01');
@@ -799,6 +797,7 @@ int test(int argc, const char *argv[])
#undef CASE_SENSITIVE
+ TestLogger logger(Log::WARNING);
TEST_THAT(!logger.IsTriggered());
elist.AddDefiniteEntries(std::string("/foo"));
TEST_THAT(!logger.IsTriggered());