1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-26 01:15:37 +00:00

[tests] added color

This commit is contained in:
Witold Filipczyk 2021-10-03 19:43:47 +02:00
parent 21a606bf35
commit 4311445f49

View File

@ -359,7 +359,7 @@ tests()
std::string result = translator->translate(selector);
std::cout << selector << " " << result << " " << expected << " ";
std::cout << ((result == expected) ? "OK" : "FAIL");
std::cout << ((result == expected) ? "\033[32mOK\033[0m" : "\033[31mFAIL\033[0m");
std::cout << "\n";
}
}