Skip to content

Commit

Permalink
GHI #32 Only use ExitedWithCode(3) for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Jul 13, 2024
1 parent f3f9253 commit c9a71b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/include/test/common/death.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace test
inline auto
KilledByAbort() noexcept
{
#if defined(GTEST_OS_WINDOWS) || defined (GTEST_OS_FUCHSIA)
#if defined(_MSC_VER)
return testing::ExitedWithCode(3);
#else
return testing::KilledBySignal(SIGABRT);
Expand Down

0 comments on commit c9a71b5

Please sign in to comment.