From ed6f31f4c9939d6cc8d4d317d561a94545750b0b Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 5 Aug 2024 12:40:04 +0200 Subject: Replace classic C boolean operators with keywords ! => not; && => and, || => or --- test/buildtool/multithreading/task.test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/buildtool/multithreading/task.test.cpp') 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 empty_function; Task t_from_empty_function{empty_function}; - CHECK(!Task(std::function{})); - CHECK(!Task(empty_function)); - CHECK(!t_from_empty_function); + CHECK(not Task(std::function{})); + CHECK(not Task(empty_function)); + CHECK(not t_from_empty_function); } TEST_CASE("Task constructed from user defined callable object is not empty", -- cgit v1.2.3