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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/TestMain.cpp
diff options
context:
space:
mode:
authorPhil Nash2013-06-28 16:05:13 +0100
committerPhil Nash2013-06-28 16:05:13 +0100
commit9c39a5e8dd4b071b9287c70949f6f7e1e0309146 (patch)
treed096ade2054b653b64424aadb040923de679adae /projects/SelfTest/TestMain.cpp
parent235204393a45900a9f8d92f14eaaf287b9f178ec (diff)
downloadcatch3-9c39a5e8dd4b071b9287c70949f6f7e1e0309146.tar.gz
Support [.] as alias for [hide]
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
-rw-r--r--projects/SelfTest/TestMain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp
index ab1b9934..00052465 100644
--- a/projects/SelfTest/TestMain.cpp
+++ b/projects/SelfTest/TestMain.cpp
@@ -305,7 +305,7 @@ TEST_CASE( "selftest/tags", "" ) {
std::string p2 = "[one],[two]";
std::string p3 = "[one][two]";
std::string p4 = "[one][two],[three]";
- std::string p5 = "[one][two]~[hide],[three]";
+ std::string p5 = "[one][two]~[.],[three]";
SECTION( "one tag", "" ) {
Catch::TestCase oneTag = makeTestCase( NULL, "", "test", "[one]", CATCH_INTERNAL_LINEINFO );
@@ -357,13 +357,13 @@ TEST_CASE( "selftest/tags", "" ) {
}
SECTION( "hidden", "" ) {
- Catch::TestCase oneTag = makeTestCase( NULL, "", "test", "[hide]", CATCH_INTERNAL_LINEINFO );
+ Catch::TestCase oneTag = makeTestCase( NULL, "", "test", "[.]", CATCH_INTERNAL_LINEINFO );
CHECK( oneTag.getTestCaseInfo().description == "" );
- CHECK( oneTag.hasTag( "hide" ) );
+ CHECK( oneTag.hasTag( "." ) );
CHECK( oneTag.isHidden() );
- CHECK( oneTag.matchesTags( "~[hide]" ) == false );
+ CHECK( oneTag.matchesTags( "~[.]" ) == false );
}
}