Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
xanthospap authored Dec 16, 2024
1 parent bf59e3a commit f190c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/should_not_compile/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ add_test(
##
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set_tests_properties(fail-build-fractional-seconds-op-equal PROPERTIES
PASS_REGULAR_EXPRESSION "'FractionalSeconds' vs. 'double'"
PASS_REGULAR_EXPRESSION "'FractionalSeconds' and 'double'"
)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set_tests_properties(fail-build-fractional-seconds-op-equal PROPERTIES
Expand All @@ -52,7 +52,7 @@ add_test(

if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set_tests_properties(fail-build-fractional-seconds-op-greater PROPERTIES
PASS_REGULAR_EXPRESSION "'FractionalSeconds' vs\. 'double'"
PASS_REGULAR_EXPRESSION "'FractionalSeconds' and 'double'"
)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set_tests_properties(fail-build-fractional-seconds-op-greater PROPERTIES
Expand Down

0 comments on commit f190c79

Please sign in to comment.