Skip to content

Commit 0a88c49

Browse files
committed
add changes according to coderabbit suggestions
1 parent 93c4d50 commit 0a88c49

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ set(YSTDLIB_INSTALL_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/ystdlib)
9494
set(YSTDLIB_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR})
9595

9696
file(GLOB_RECURSE SOURCE_FILES
97+
CONFIGURE_DEPENDS
9798
"${PROJECT_SOURCE_DIR}/src/*.cpp"
9899
"${PROJECT_SOURCE_DIR}/src/*.hpp"
99100
"${PROJECT_SOURCE_DIR}/src/*.h"

src/ystdlib/error_handling/test/test_ErrorCode.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ TEST_CASE("test_error_code", "[error_handling][ErrorCode]") {
4949

5050
TEST_CASE("test_error_code_failure_condition", "[error_handling][ErrorCode]") {
5151
std::error_code const failure_error_code{BinaryErrorCode{BinaryErrorCodeEnum::Failure}};
52-
// std::ranges::for_each(cFailureConditions, [&](auto const& failure_condition) {
53-
// REQUIRE((failure_error_code == failure_condition));
54-
// });
52+
std::ranges::for_each(cFailureConditions, [&](auto const& failure_condition) {
53+
REQUIRE((failure_error_code == failure_condition));
54+
});
5555
std::ranges::for_each(cNoneFailureConditions, [&](auto const& none_failure_condition) {
5656
REQUIRE((failure_error_code != none_failure_condition));
5757
});

0 commit comments

Comments
 (0)