Skip to content

Commit

Permalink
fix extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvir Yitzchaki committed Feb 28, 2019
1 parent a0812d2 commit 8575039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/ExtraTests/X01-PrefixedMacros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CATCH_TEST_CASE("PrefixedMacros") {
CATCH_REQUIRE_THROWS(this_throws());
CATCH_REQUIRE_THROWS_AS(this_throws(), std::runtime_error);
CATCH_REQUIRE_THROWS_WITH(this_throws(), "Some msg");
CATCH_REQUIRE_THROWS_MATCHES(this_throws(), std::runtime_error, Predicate<std::runtime_error>([](std::runtime_error const&) { return true; }));
CATCH_REQUIRE_THROWS_MATCHES(this_throws(), std::runtime_error, Predicate([](std::runtime_error const&) { return true; }));
CATCH_REQUIRE_NOTHROW(this_doesnt_throw());

CATCH_CHECK( 1 == 1 );
Expand All @@ -41,7 +41,7 @@ CATCH_TEST_CASE("PrefixedMacros") {
CATCH_CHECK_THROWS(this_throws());
CATCH_CHECK_THROWS_AS(this_throws(), std::runtime_error);
CATCH_CHECK_THROWS_WITH(this_throws(), "Some msg");
CATCH_CHECK_THROWS_MATCHES(this_throws(), std::runtime_error, Predicate<std::runtime_error>([](std::runtime_error const&) { return true; }));
CATCH_CHECK_THROWS_MATCHES(this_throws(), std::runtime_error, Predicate([](std::runtime_error const&) { return true; }));
CATCH_CHECK_NOTHROW(this_doesnt_throw());

CATCH_REQUIRE_THAT("abcd", Equals("abcd"));
Expand Down

0 comments on commit 8575039

Please sign in to comment.