Skip to content

Commit

Permalink
fix unreachable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed Jun 11, 2019
1 parent 58231d6 commit 7c6b3bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/internal/iutest_internal.hpp
Expand Up @@ -595,7 +595,9 @@
IUTEST_PP_CAT(iutest_label_test_no_fatalfailure_, __LINE__): \
on_failure("\nExpected: " #statement " doesn't generate new fatal failure.\n Actual: it does.")

#define IUTEST_TEST_SKIP() \
#define IUTEST_TEST_SKIP() \
IUTEST_AMBIGUOUS_ELSE_BLOCKER_ \
if( ::iutest::detail::AlwaysTrue() ) \
IUTEST_SKIP_MESSAGE( ::iutest::UnitTest::SkipTest() ? "Skipped. " : "Skipped. but already failed. " )

/**
Expand Down

0 comments on commit 7c6b3bb

Please sign in to comment.