diff --git a/doctest/doctest.h b/doctest/doctest.h index f0273b3fe..0cb001cf9 100644 --- a/doctest/doctest.h +++ b/doctest/doctest.h @@ -1450,7 +1450,7 @@ namespace detail }; ContextState*& getContextState(); -#endif +#endif // DOCTEST_CONFIG_DISABLE } // namespace detail String::String(const char* in) { @@ -1944,7 +1944,7 @@ namespace detail switch(code) { case Color::Red: col = "[0;31m"; break; case Color::Green: col = "[0;32m"; break; - case Color::Blue: col = "[0:34m"; break; + case Color::Blue: col = "[0;34m"; break; case Color::Cyan: col = "[0;36m"; break; case Color::Yellow: col = "[0;33m"; break; case Color::Grey: col = "[1;30m"; break; @@ -2816,6 +2816,9 @@ int Context::run() { DOCTEST_PRINTF_COLORED(buff, Color::None); } + // remove any coloring + DOCTEST_PRINTF_COLORED("", Color::None); + getContextState() = 0; if(numFailed && !p->no_exitcode) diff --git a/doctest/parts/doctest_impl.h b/doctest/parts/doctest_impl.h index b7f87eda8..051668e90 100644 --- a/doctest/parts/doctest_impl.h +++ b/doctest/parts/doctest_impl.h @@ -1591,6 +1591,9 @@ int Context::run() { DOCTEST_PRINTF_COLORED(buff, Color::None); } + // remove any coloring + DOCTEST_PRINTF_COLORED("", Color::None); + getContextState() = 0; if(numFailed && !p->no_exitcode) diff --git a/scripts/random_dev_notes.md b/scripts/random_dev_notes.md index 8d0553e47..03e2fc01a 100644 --- a/scripts/random_dev_notes.md +++ b/scripts/random_dev_notes.md @@ -1,6 +1,25 @@ +email to L Dionne +how travis started working: +- creating that folder +- upgraded cmake +- -l c++ flag? + #define DYNAMIX_VERSION (DYNAMIX_VERSION_MAJOR*10000 + DYNAMIX_VERSION_MINOR*100 + DYNAMIX_VERSION_SUB_MINOR) +mingw on appveyor - https://github.com/boost-experimental/di/blob/cpp14/.appveyor.yml +https://github.com/boostorg/hana/blob/master/.appveyor.yml + - llvm - https://github.com/boostorg/hana/commit/f08e824a34cc4e6e850fee285f3d182f95440f60 +https://github.com/boost-experimental/di/blob/cpp14/.travis.yml + +_LIBCPP_BEGIN_NAMESPACE_STD +https://github.com/boost-experimental/di/blob/cpp14/include/boost/di.hpp + +- patreon + +- mocking - google mock assertion macros + +- should check the expression decomposer - if it copies by value anything - nullptr trouble @@ -8,8 +27,6 @@ - users.md - projects that use doctest -- color::none after doctest - - tests in a static library without the implementation there - problematic - multiple subcases per line