mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[tests] added color
This commit is contained in:
parent
21a606bf35
commit
4311445f49
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user