summaryrefslogtreecommitdiff
path: root/test/buildtool/multithreading
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/multithreading')
-rw-r--r--test/buildtool/multithreading/async_map_consumer.test.cpp2
-rw-r--r--test/buildtool/multithreading/task.test.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/test/buildtool/multithreading/async_map_consumer.test.cpp b/test/buildtool/multithreading/async_map_consumer.test.cpp
index a2de18b7..f65c7851 100644
--- a/test/buildtool/multithreading/async_map_consumer.test.cpp
+++ b/test/buildtool/multithreading/async_map_consumer.test.cpp
@@ -237,7 +237,7 @@ TEST_CASE("ErrorPropagation", "[async_map_consumer]") {
[&fail_cont_counter]() { fail_cont_counter++; });
}
CHECK(execution_failed);
- CHECK(!consumer_called);
+ CHECK(not consumer_called);
CHECK(fail_cont_counter == 1);
}
diff --git a/test/buildtool/multithreading/task.test.cpp b/test/buildtool/multithreading/task.test.cpp
index fab83547..772b3e83 100644
--- a/test/buildtool/multithreading/task.test.cpp
+++ b/test/buildtool/multithreading/task.test.cpp
@@ -47,18 +47,18 @@ struct RefCaptureCallable {
TEST_CASE("Default constructed task is empty", "[task]") {
Task t;
- CHECK(!t);
- CHECK(!(Task()));
- CHECK(!(Task{}));
+ CHECK(not t);
+ CHECK(not(Task()));
+ CHECK(not(Task{}));
}
TEST_CASE("Task constructed from empty function is empty", "[task]") {
std::function<void()> empty_function;
Task t_from_empty_function{empty_function};
- CHECK(!Task(std::function<void()>{}));
- CHECK(!Task(empty_function));
- CHECK(!t_from_empty_function);
+ CHECK(not Task(std::function<void()>{}));
+ CHECK(not Task(empty_function));
+ CHECK(not t_from_empty_function);
}
TEST_CASE("Task constructed from user defined callable object is not empty",