Skip to content

Commit d3227ce

Browse files
committed
Fix clang-tidy bugprone-macro-parentheses warning in PYBIND11_CATCH2_SKIP_IF
1 parent 6e7fb53 commit d3227ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_with_catch/catch_skip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#define PYBIND11_CATCH2_SKIP_IF(condition, reason) \
1010
do { \
1111
if (condition) { \
12-
Catch::cout() << "[ SKIPPED ] " << reason << '\n'; \
12+
Catch::cout() << "[ SKIPPED ] " << (reason) << '\n'; \
1313
Catch::cout().flush(); \
1414
return; \
1515
} \

0 commit comments

Comments
 (0)