9 lines
380 B
Diff
9 lines
380 B
Diff
--- a/unit_test.h
|
|
+++ b/unit_test.h
|
|
@@ -58,7 +58,7 @@
|
|
#define TEST_BEGIN__(text, file, line) \
|
|
namespace UnitTest##line { \
|
|
- static void Test() {
|
|
+ template<bool _dead=false> static void Test() {
|
|
|
|
#define TEST_END \
|