From 85750398f68712271941df61a8278b9148c566b4 Mon Sep 17 00:00:00 2001 From: Dvir Yitzchaki Date: Thu, 28 Feb 2019 10:50:50 +0200 Subject: [PATCH] fix extra tests --- projects/ExtraTests/X01-PrefixedMacros.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/ExtraTests/X01-PrefixedMacros.cpp b/projects/ExtraTests/X01-PrefixedMacros.cpp index 7671cbc4df..e3f092b80f 100644 --- a/projects/ExtraTests/X01-PrefixedMacros.cpp +++ b/projects/ExtraTests/X01-PrefixedMacros.cpp @@ -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 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 ); @@ -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 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"));