diff --git a/source/main.cpp b/source/main.cpp index 112c0e8..8f7a1c3 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -117,12 +117,11 @@ signed main() { puts(""); - TEST(R"del(/\*[\d\D]*\*/)del", "908", false); - TEST(R"del(/\*[\d\D]*\*/)del", "/*908*/", true); - TEST(R"del(/\*[\d\D]*\*/)del", "/*asd*/", true); - TEST(R"del(/\*[\d\D]*\*/)del", "/* 908 */", true); - TEST(R"del(/\*[\d\D]*\*/)del", "/* asd */", true); - TEST(R"del(/\*[\d\D]*\*/)del", "/* as\nd */", true); + TEST(R"del(/\*[\d\D]*\*/)del", "908", false); + TEST(R"del(/\*[\d\D]*\*/)del", "/*908*/", true); + TEST(R"del(/\*[\d\D]*\*/)del", "/*asd*/", true); + TEST(R"del(/\*[\d\D]*\*/)del", "/* asd */", true); + TEST(R"del(/\*[\d\D]*\*/)del", "/* as* */", true); if (test_counter == passed_tests) { fputs("\033[32m", stdout); diff --git a/source/test.hpp b/source/test.hpp index 487c3f6..9ae7dc5 100644 --- a/source/test.hpp +++ b/source/test.hpp @@ -23,7 +23,7 @@ void asprint_match_t( char * * destination, static void print_leader(const bool passed, const int n) { if (passed) { - printf("\033[32;1mSuccess\033[0m. %02d\033[1m - \033[0m", n); + printf("\033[32;1mSuccess\033[0m. %02d\033[1m - \033[0m", n); } else { printf("\033[31;1mFailure\033[0m. %02d\033[1m - \033[0m", n); }