fixed how the tutorial about subcases (markdown/html) gets rendered by github
diff --git a/doc/html_generated/features.html b/doc/html_generated/features.html
index 5fd1e3c..990c507 100644
--- a/doc/html_generated/features.html
+++ b/doc/html_generated/features.html
@@ -31,7 +31,7 @@
- tested with **Clang**: **3.4**, **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**
- tested with **MSVC**: **2008**, **2010**, **2012**, **2013**, **2015**, **2017**
- per-commit tested on **travis** and **appveyor** CI services
- - warnings as errors even on the most aggressive warning levels - see [**here**](../../scripts/common.cmake#L71)
+ - warnings as errors even on the most aggressive warning levels - see [**here**](../../scripts/cmake/common.cmake#L84)
- statically analyzed - [**Cppcheck**](http://cppcheck.sourceforge.net/) / [**Clang-Tidy**](http://oclint.org/) / [**Coverity Scan**](https://scan.coverity.com/) / [**OCLint**](https://scan.coverity.com/) / [**Visual Studio Analyzer**](https://docs.microsoft.com/en-us/visualstudio/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis)
- all tests have their output compared to reference output of a previous known good run
- all tests built and ran in **Debug**/**Release** and also in **32**/**64** bit modes
diff --git a/doc/html_generated/tutorial.html b/doc/html_generated/tutorial.html
index 8b2fd11..e1cb782 100644
--- a/doc/html_generated/tutorial.html
+++ b/doc/html_generated/tutorial.html
@@ -125,58 +125,53 @@
<pre lang="c++">
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
-
+<br>
#include <iostream>
using namespace std;
-
+<br>
TEST_CASE("lots of nested subcases") {
- cout << endl << "root" << endl;
- SUBCASE("") {
- cout << "1" << endl;
- SUBCASE("") { cout << "1.1" << endl; }
- }
- SUBCASE("") {
- cout << "2" << endl;
- SUBCASE("") { cout << "2.1" << endl; }
- SUBCASE("") {
- cout << "2.2" << endl;
- SUBCASE("") {
- cout << "2.2.1" << endl;
- SUBCASE("") { cout << "2.2.1.1" << endl; }
- SUBCASE("") { cout << "2.2.1.2" << endl; }
- }
- }
- SUBCASE("") { cout << "2.3" << endl; }
- SUBCASE("") { cout << "2.4" << endl; }
- }
+ cout << endl << "root" << endl;
+ SUBCASE("") {
+ cout << "1" << endl;
+ SUBCASE("") { cout << "1.1" << endl; }
+ }
+ SUBCASE("") {
+ cout << "2" << endl;
+ SUBCASE("") { cout << "2.1" << endl; }
+ SUBCASE("") {
+ cout << "2.2" << endl;
+ SUBCASE("") {
+ cout << "2.2.1" << endl;
+ SUBCASE("") { cout << "2.2.1.1" << endl; }
+ SUBCASE("") { cout << "2.2.1.2" << endl; }
+ }
+ }
+ SUBCASE("") { cout << "2.3" << endl; }
+ SUBCASE("") { cout << "2.4" << endl; }
+ }
}
</pre>
-</td><td>
+</td><td width="400">
<pre lang="">
-root
+root
1
-1.1
-
+1.1<br>
root
2
-2.1
-
+2.1<br>
root
2
2.2
2.2.1
-2.2.1.1
-
+2.2.1.1<br>
root
2
2.2
2.2.1
-2.2.1.2
-
+2.2.1.2<br>
root
2
-2.3
-
+2.3<br>
root
2
2.4
diff --git a/doc/markdown/features.md b/doc/markdown/features.md
index 0fab339..0f897c8 100644
--- a/doc/markdown/features.md
+++ b/doc/markdown/features.md
@@ -26,7 +26,7 @@
- tested with **Clang**: **3.4**, **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**
- tested with **MSVC**: **2008**, **2010**, **2012**, **2013**, **2015**, **2017**
- per-commit tested on **travis** and **appveyor** CI services
- - warnings as errors even on the most aggressive warning levels - see [**here**](../../scripts/common.cmake#L71)
+ - warnings as errors even on the most aggressive warning levels - see [**here**](../../scripts/cmake/common.cmake#L84)
- statically analyzed - [**Cppcheck**](http://cppcheck.sourceforge.net/) / [**Clang-Tidy**](http://oclint.org/) / [**Coverity Scan**](https://scan.coverity.com/) / [**OCLint**](https://scan.coverity.com/) / [**Visual Studio Analyzer**](https://docs.microsoft.com/en-us/visualstudio/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis)
- all tests have their output compared to reference output of a previous known good run
- all tests built and ran in **Debug**/**Release** and also in **32**/**64** bit modes
diff --git a/doc/markdown/tutorial.md b/doc/markdown/tutorial.md
index c90e1bd..428a161 100644
--- a/doc/markdown/tutorial.md
+++ b/doc/markdown/tutorial.md
@@ -120,58 +120,53 @@
<pre lang="c++">
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
-
+<br>
#include <iostream>
using namespace std;
-
+<br>
TEST_CASE("lots of nested subcases") {
- cout << endl << "root" << endl;
- SUBCASE("") {
- cout << "1" << endl;
- SUBCASE("") { cout << "1.1" << endl; }
- }
- SUBCASE("") {
- cout << "2" << endl;
- SUBCASE("") { cout << "2.1" << endl; }
- SUBCASE("") {
- cout << "2.2" << endl;
- SUBCASE("") {
- cout << "2.2.1" << endl;
- SUBCASE("") { cout << "2.2.1.1" << endl; }
- SUBCASE("") { cout << "2.2.1.2" << endl; }
- }
- }
- SUBCASE("") { cout << "2.3" << endl; }
- SUBCASE("") { cout << "2.4" << endl; }
- }
+ cout << endl << "root" << endl;
+ SUBCASE("") {
+ cout << "1" << endl;
+ SUBCASE("") { cout << "1.1" << endl; }
+ }
+ SUBCASE("") {
+ cout << "2" << endl;
+ SUBCASE("") { cout << "2.1" << endl; }
+ SUBCASE("") {
+ cout << "2.2" << endl;
+ SUBCASE("") {
+ cout << "2.2.1" << endl;
+ SUBCASE("") { cout << "2.2.1.1" << endl; }
+ SUBCASE("") { cout << "2.2.1.2" << endl; }
+ }
+ }
+ SUBCASE("") { cout << "2.3" << endl; }
+ SUBCASE("") { cout << "2.4" << endl; }
+ }
}
</pre>
-</td><td>
+</td><td width="400">
<pre lang="">
-root
+root
1
-1.1
-
+1.1<br>
root
2
-2.1
-
+2.1<br>
root
2
2.2
2.2.1
-2.2.1.1
-
+2.2.1.1<br>
root
2
2.2
2.2.1
-2.2.1.2
-
+2.2.1.2<br>
root
2
-2.3
-
+2.3<br>
root
2
2.4