summaryrefslogtreecommitdiff
path: root/src/unittest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:47:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:47:30 +0100
commit75d1fa7244b9c5cddae056a281f457dd1e81cfb2 (patch)
tree7a01afcc48a52ec500e0ede5dabaa517c952c7f1 /src/unittest.cc
parent1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (diff)
Rename TargetType::Xyz to target_type::xyz
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())