one more bug
This commit is contained in:
parent
13a150d682
commit
01d82b8fca
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user