diff --git a/modules/beast_core/diagnostic/beast_UnitTest.cpp b/modules/beast_core/diagnostic/beast_UnitTest.cpp index 82a10351e..9969903df 100644 --- a/modules/beast_core/diagnostic/beast_UnitTest.cpp +++ b/modules/beast_core/diagnostic/beast_UnitTest.cpp @@ -24,8 +24,8 @@ UnitTest::UnitTest (String const& className, String const& packageName, When when) - : m_className (className) - , m_packageName (packageName) + : m_className (className.removeCharacters (" ")) + , m_packageName (packageName.removeCharacters (" ")) , m_when (when) , m_runner (nullptr) { diff --git a/modules/beast_core/diagnostic/beast_UnitTest.h b/modules/beast_core/diagnostic/beast_UnitTest.h index a7ff9d291..3fe46e793 100644 --- a/modules/beast_core/diagnostic/beast_UnitTest.h +++ b/modules/beast_core/diagnostic/beast_UnitTest.h @@ -408,7 +408,7 @@ public: package, regardless of the manual run setting. If no test with a matching package and test name is found, then no test is selected. - "/" + "." Selects the first test which matches the testname, even if it is a manual test. diff --git a/modules/beast_core/diagnostic/beast_UnitTestUtilities.cpp b/modules/beast_core/diagnostic/beast_UnitTestUtilities.cpp index 18d582560..a18293a9b 100644 --- a/modules/beast_core/diagnostic/beast_UnitTestUtilities.cpp +++ b/modules/beast_core/diagnostic/beast_UnitTestUtilities.cpp @@ -148,7 +148,7 @@ public: void runTest () { - beginTestCase ("pass"); + beginTestCase ("fail"); fail ("Intentional failure"); }