@@ -79,7 +79,7 @@ TEST(TryCatch, Basic) {
7979 [&] (const std::runtime_error& e) {
8080 did_catch = true ;
8181 EXPECT_EQ (e.what (), std::string (" foobar" ));
82- #if !defined(_WIN32) || (! defined(_M_ARM64) && ! defined(_M_ARM))
82+ #if !( defined(_WIN32) && ( defined(_M_ARM64) || defined(_M_ARM) ))
8383 check_trace (cpptrace::from_current_exception (), " try_catch.cpp" , line);
8484 #endif
8585 check_trace (cpptrace::from_current_exception (), test_name);
@@ -113,7 +113,7 @@ TEST(TryCatch, Upcast) {
113113 [&] (const std::exception& e) {
114114 did_catch = true ;
115115 EXPECT_EQ (e.what (), std::string (" foobar" ));
116- #if !defined(_WIN32) || (! defined(_M_ARM64) && ! defined(_M_ARM))
116+ #if !( defined(_WIN32) && ( defined(_M_ARM64) || defined(_M_ARM) ))
117117 check_trace (cpptrace::from_current_exception (), " try_catch.cpp" , line);
118118 #endif
119119 check_trace (cpptrace::from_current_exception (), test_name);
@@ -177,7 +177,7 @@ TEST(TryCatch, CorrectHandler) {
177177 [&] (const std::runtime_error& e) {
178178 did_catch = true ;
179179 EXPECT_EQ (e.what (), std::string (" foobar" ));
180- #if !defined(_WIN32) || (! defined(_M_ARM64) && ! defined(_M_ARM))
180+ #if !( defined(_WIN32) && ( defined(_M_ARM64) || defined(_M_ARM) ))
181181 check_trace (cpptrace::from_current_exception (), " try_catch.cpp" , line);
182182 #endif
183183 check_trace (cpptrace::from_current_exception (), test_name);
@@ -209,7 +209,7 @@ TEST(TryCatch, BlanketHandler) {
209209 },
210210 [&] () {
211211 did_catch = true ;
212- #if !defined(_WIN32) || (! defined(_M_ARM64) && ! defined(_M_ARM))
212+ #if !( defined(_WIN32) && ( defined(_M_ARM64) || defined(_M_ARM) ))
213213 check_trace (cpptrace::from_current_exception (), " try_catch.cpp" , line);
214214 #endif
215215 check_trace (cpptrace::from_current_exception (), test_name);
@@ -235,7 +235,7 @@ TEST(TryCatch, CatchOrdering) {
235235 },
236236 [&] () {
237237 did_catch = true ;
238- #if !defined(_WIN32) || (! defined(_M_ARM64) && ! defined(_M_ARM))
238+ #if !( defined(_WIN32) && ( defined(_M_ARM64) || defined(_M_ARM) ))
239239 check_trace (cpptrace::from_current_exception (), " try_catch.cpp" , line);
240240 #endif
241241 check_trace (cpptrace::from_current_exception (), test_name);
0 commit comments