fixed #41 - !!! BREAKING CHANGE !!! - Make TEST_SUITE work with bodies, add TEST_SUITE_BEGIN
diff --git a/examples/disabled/test.cpp b/examples/disabled/test.cpp
index 584f1e1..36556d0 100644
--- a/examples/disabled/test.cpp
+++ b/examples/disabled/test.cpp
@@ -18,7 +18,7 @@
return 42;
}
-TEST_SUITE("the testsuite!");
+TEST_SUITE_BEGIN("the testsuite!");
#define DO_STUFF() \
CHECK(1 == 0); \
@@ -68,7 +68,9 @@
}
};
-TEST_CASE_FIXTURE(TheFixture, "test with a fixture - 1") {
- data /= 2;
- CHECK(data == 21);
+TEST_SUITE("the testsuite!") {
+ TEST_CASE_FIXTURE(TheFixture, "test with a fixture - 1") {
+ data /= 2;
+ CHECK(data == 21);
+ }
}