diff --git a/.clang-tidy b/.clang-tidy index 4c01d8f0..68da711f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -13,7 +13,6 @@ CheckOptions: - key: misc-include-cleaner.IgnoreHeaders value: > boost/test/.*; - __chrono/.*; - boost/multiprecision/.* + __chrono/.* HeaderFilterRegex: "^.*\/stlab\/.*$" # WarningsAsErrors: "*" diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f6e617b5..aa378e0b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -12,7 +12,7 @@ CPMAddPackage( VERSION 1.86.0 URL https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-cmake.tar.xz URL_HASH SHA256=2c5ec5edcdff47ff55e27ed9560b0a0b94b07bd07ed9928b476150e16b0efc57 - OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_INCLUDE_LIBRARIES test\\\;multiprecision" # Note the escapes! container\\\;asio + OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_INCLUDE_LIBRARIES test" # Note the escapes! container\\\;asio ) add_executable(stlab.test.channel @@ -52,7 +52,6 @@ add_library(stlab::testing ALIAS testing) target_link_libraries(testing INTERFACE Boost::unit_test_framework - Boost::multiprecision stlab::development stlab::stlab) diff --git a/test/future_tests.cpp b/test/future_tests.cpp index 511af5cd..72fbad58 100644 --- a/test/future_tests.cpp +++ b/test/future_tests.cpp @@ -772,12 +772,12 @@ BOOST_AUTO_TEST_CASE(future_reduction_executor) { auto f = make_ready_future(5, outer_executor) | [&](int x) { return make_ready_future(x, inner_executor); }; - BOOST_REQUIRE_EQUAL(1, outer_count); - BOOST_REQUIRE_EQUAL(0, inner_count); + BOOST_REQUIRE_EQUAL(1u, outer_count); + BOOST_REQUIRE_EQUAL(0u, inner_count); auto f1 = f | [](int x) { return x; }; - BOOST_REQUIRE_EQUAL(2, outer_count); - BOOST_REQUIRE_EQUAL(0, inner_count); + BOOST_REQUIRE_EQUAL(2u, outer_count); + BOOST_REQUIRE_EQUAL(0u, inner_count); BOOST_REQUIRE_EQUAL(5, *f1.get_try()); }