fixed refactoring of options parsing
added _CONFIG_ in config macros for the library
diff --git a/examples/dev_testing/main.cpp b/examples/dev_testing/main.cpp
index 08da086..af9f99f 100644
--- a/examples/dev_testing/main.cpp
+++ b/examples/dev_testing/main.cpp
@@ -1,7 +1,7 @@
-//#define DOCTEST_DISABLE
+//#define DOCTEST_CONFIG_DISABLE
//#include "doctest.h"
-#define DOCTEST_IMPLEMENT
+#define DOCTEST_CONFIG_IMPLEMENT
#include "doctest.h"
#include <cstdio>
@@ -12,7 +12,7 @@
// overrides
context.setOption("dt-case-sensitive", true);
- context.setOption("dt-no-breaks", true);
+ context.setOption("no-breaks", true);
//context.setOption("dt-no-colors", true);
context.addFilter("dt-name", "zzz");
diff --git a/examples/dev_testing/test.cpp b/examples/dev_testing/test.cpp
index 2cfa23e..14b9e04 100644
--- a/examples/dev_testing/test.cpp
+++ b/examples/dev_testing/test.cpp
@@ -1,4 +1,4 @@
-//#define DOCTEST_DISABLE
+//#define DOCTEST_CONFIG_DISABLE
#include "doctest.h"