summaryrefslogtreecommitdiff
path: root/src/unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittest.cc')
-rw-r--r--src/unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest.cc b/src/unittest.cc
index cceaec7..855a2ae 100644
--- a/src/unittest.cc
+++ b/src/unittest.cc
@@ -18,7 +18,7 @@ int runUnitTests(std::set<std::shared_ptr<Task>>& tasks,
// Run unit-tests
for(const auto& task : tasks)
{
- if(task->targetType() == TargetType::UnitTest)
+ if(task->targetType() == ctor::target_type::unit_test)
{
auto name = task->name();
if(name.empty())