From cacb49c4adecb258a140f1450c471bed44b6e96c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Nov 2017 02:37:24 +0100 Subject: [PATCH] Remove "test" from the sections names in Catch unit tests It doesn't really add anything and it's more convenient to specify the section on the command line (using the "-c" option) if it's just a single word, without spaces, as it doesn't need to be quoted then. --- include/wx/catch_cppunit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/catch_cppunit.h b/include/wx/catch_cppunit.h index 6d14137de3..f9472b8446 100644 --- a/include/wx/catch_cppunit.h +++ b/include/wx/catch_cppunit.h @@ -205,7 +205,7 @@ inline std::string wxGetCurrentTestName() struct EatNextSemicolon #define CPPUNIT_TEST(testname) \ - SECTION(#testname " test") \ + SECTION(#testname) \ { \ setUp(); \ try \