Skip to content

Commit

Permalink
Fix markdown displaying from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
solar-mist committed Jul 6, 2023
1 parent b633ed2 commit ffed82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void diagnostics(OutputType outputType)
if(outputType == OutputType::Markdown)
{
std::cout << "# Test Results";
std::cout << "\n" << tests.size() << " tests run. :heavy_check_mark:" << tests.size() - failedTests.size() << " succeeded, :x:" << failedTests.size() << "failed.\n\n";
std::cout << "\n" << tests.size() << " tests run.\n\t:heavy_check_mark:" << tests.size() - failedTests.size() << " succeeded\n\t:x:" << failedTests.size() << " failed.\n\n";
for (failedTest& test : failedTests)
{
std::cout << ":x:Test " << test.suite << "::" << test.name << "(" << test.file << ":" << test.line << ":" << test.col << ") failed with expansion:\n\t" << test.condition << "\n";
Expand Down

0 comments on commit ffed82a

Please sign in to comment.