Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2015-12-09 18:24:29 +0000
committerPhil Nash2015-12-10 08:12:58 +0000
commit5cab3cc1b88420f4e9453e3ad71f40bc9db55ef2 (patch)
treeed141f22326eaaa927effc8b70eba7c667fa60b1 /include
parentd2642325aea02e2d011327ac12967fed691b2384 (diff)
downloadcatch3-5cab3cc1b88420f4e9453e3ad71f40bc9db55ef2.tar.gz
Fixed non-variadic version of REGISTER_TEST_CASE
Diffstat (limited to 'include')
-rw-r--r--include/catch.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/catch.hpp b/include/catch.hpp
index c6f8043f..68ddbd37 100644
--- a/include/catch.hpp
+++ b/include/catch.hpp
@@ -171,7 +171,7 @@
#define TEST_CASE( name, description ) INTERNAL_CATCH_TESTCASE( name, description )
#define TEST_CASE_METHOD( className, name, description ) INTERNAL_CATCH_TEST_CASE_METHOD( className, name, description )
#define METHOD_AS_TEST_CASE( method, name, description ) INTERNAL_CATCH_METHOD_AS_TEST_CASE( method, name, description )
- #define REGISTER_TEST_CASE( ... ) INTERNAL_CATCH_REGISTER_TESTCASE( __VA_ARGS__ )
+ #define REGISTER_TEST_CASE( method, name, description ) INTERNAL_CATCH_REGISTER_TESTCASE( method, name, description )
#define SECTION( name, description ) INTERNAL_CATCH_SECTION( name, description )
#define FAIL( msg ) INTERNAL_CATCH_MSG( Catch::ResultWas::ExplicitFailure, Catch::ResultDisposition::Normal, "FAIL", msg )
#define SUCCEED( msg ) INTERNAL_CATCH_MSG( Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, "SUCCEED", msg )