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; break;
Test *test = *it; Test *test = *it;
if (_setup.size() > 0) if (!setup().empty())
test->addSetup(_setup); test->addSetup(setup());
test->run(result); test->run(result);
} }
} }