diff options
| author | Phil Nash | 2013-06-28 16:05:13 +0100 |
|---|---|---|
| committer | Phil Nash | 2013-06-28 16:05:13 +0100 |
| commit | 9c39a5e8dd4b071b9287c70949f6f7e1e0309146 (patch) | |
| tree | d096ade2054b653b64424aadb040923de679adae /projects/SelfTest/TestMain.cpp | |
| parent | 235204393a45900a9f8d92f14eaaf287b9f178ec (diff) | |
| download | catch3-9c39a5e8dd4b071b9287c70949f6f7e1e0309146.tar.gz | |
Support [.] as alias for [hide]
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
| -rw-r--r-- | projects/SelfTest/TestMain.cpp | 8 |
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 ); } } |