File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
src/ystdlib/error_handling Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 2121 strategy :
2222 matrix :
2323 os :
24- - " macos-latest"
2524 - " macos-14"
25+ - " macos-15"
2626 - " ubuntu-20.04"
2727 - " ubuntu-22.04"
2828 - " ubuntu-24.04"
@@ -40,11 +40,11 @@ jobs:
4040 shell : " bash"
4141 run : " npm install -g @go-task/cli"
4242
43- - if : " matrix.os == 'macos-latest '"
43+ - if : " matrix.os == 'macos-14' || matrix.os == 'macos-15 '"
4444 name : " Install coreutils (for md5sum)"
4545 run : " brew install coreutils"
4646
47- - if : " matrix.os == 'macos-latest '"
47+ - if : " matrix.os == 'macos-14' || matrix.os == 'macos-15 '"
4848 name : " Install clang-16 (for c++20)"
4949 run : |-
5050 brew install llvm@16
Original file line number Diff line number Diff line change @@ -22,10 +22,9 @@ class Worker {
2222 }
2323
2424 static auto execute_with_failure () -> void {
25- throw OperationFailed (
26- BinaryErrorCode{BinaryErrorCodeEnum::Failure},
27- cCustomFailureDescription.data ()
28- );
25+ // clang-format off
26+ throw OperationFailed (BinaryErrorCode{BinaryErrorCodeEnum::Failure}, cCustomFailureDescription.data ());
27+ // clang-format on
2928 }
3029
3130 static auto execute_with_invalid_args () -> void {
@@ -48,8 +47,8 @@ constexpr std::string_view cExecuteWithInvalidArgsFunctionName{
4847};
4948constexpr std::string_view cInvalidArgsErrorMsg{" Invalid argument" };
5049constexpr auto cExecuteWithSuccessLineNumber{21 };
51- constexpr auto cExecuteWithFailureLineNumber{28 };
52- constexpr auto cExecuteWithInvalidArgsLineNumber{32 };
50+ constexpr auto cExecuteWithFailureLineNumber{26 };
51+ constexpr auto cExecuteWithInvalidArgsLineNumber{31 };
5352
5453#ifdef SOURCE_PATH_SIZE
5554constexpr auto cRelativePathFileName{std::string_view{__FILE__}.substr (SOURCE_PATH_SIZE)};
You can’t perform that action at this time.
0 commit comments