This commit is contained in:
Francis ANDRE 2018-05-21 22:02:25 +02:00
parent e27f6ebc2b
commit d50310d252

View File

@ -27,8 +27,8 @@ void TestSuite::run(TestResult *result)
break;
Test *test = *it;
if (_setup.size() > 0)
test->addSetup(_setup);
if (!setup().empty())
test->addSetup(setup());
test->run(result);
}
}