commit | dc011983010b2be7975aa91192bbcbd70b01bdd9 | [log] [tgz] |
---|---|---|
author | onqtam <vik.kirilov@gmail.com> | Wed Oct 24 16:57:10 2018 +0300 |
committer | onqtam <vik.kirilov@gmail.com> | Wed Oct 24 16:57:10 2018 +0300 |
tree | 83912d08eee05736c9ad902d7a557301903e6898 | |
parent | af39baeb80cd994ddcc5a477cf5bdcd94e429194 [diff] [blame] |
fixed issue #149
diff --git a/examples/all_features/subcases.cpp b/examples/all_features/subcases.cpp index cc973ea..50e8590 100644 --- a/examples/all_features/subcases.cpp +++ b/examples/all_features/subcases.cpp
@@ -91,3 +91,12 @@ } } } + +TEST_CASE("test case should fail even though the last subcase passes") { + SUBCASE("one") { + CHECK(false); + } + SUBCASE("two") { + CHECK(true); + } +}