fixed fauilty tests
This commit is contained in:
parent
c96567dc44
commit
13a150d682
@ -115,6 +115,15 @@ signed main() {
|
|||||||
TEST(R"del(\<while\>)del", "for while {", true);
|
TEST(R"del(\<while\>)del", "for while {", true);
|
||||||
TEST(R"del(\<while\>)del", "for while{", true);
|
TEST(R"del(\<while\>)del", "for while{", true);
|
||||||
|
|
||||||
|
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);
|
||||||
|
|
||||||
if (test_counter == passed_tests) {
|
if (test_counter == passed_tests) {
|
||||||
fputs("\033[32m", stdout);
|
fputs("\033[32m", stdout);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user