Remove debugging leftover in IO tests
This commit is contained in:
parent
6a8431da0a
commit
2137568ad8
|
@ -650,7 +650,6 @@ void IoTests::testAnsiEscapeCodes()
|
||||||
ss1 << EscapeCodes::color(EscapeCodes::Color::Blue, EscapeCodes::Color::Red, EscapeCodes::TextAttribute::Blink)
|
ss1 << EscapeCodes::color(EscapeCodes::Color::Blue, EscapeCodes::Color::Red, EscapeCodes::TextAttribute::Blink)
|
||||||
<< "blue, blinking text on red background" << EscapeCodes::TextAttribute::Reset << '\n';
|
<< "blue, blinking text on red background" << EscapeCodes::TextAttribute::Reset << '\n';
|
||||||
cout << "\noutput for formatting with ANSI escape codes:\n" << ss1.str() << "---------------------------------------------\n";
|
cout << "\noutput for formatting with ANSI escape codes:\n" << ss1.str() << "---------------------------------------------\n";
|
||||||
fstream("/tmp/test.txt", ios_base::out | ios_base::trunc) << ss1.str();
|
|
||||||
CPPUNIT_ASSERT_EQUAL("\033[1;31mError: \033[0m\033[1msome error\033[0m\n"
|
CPPUNIT_ASSERT_EQUAL("\033[1;31mError: \033[0m\033[1msome error\033[0m\n"
|
||||||
"\033[1;33mWarning: \033[0m\033[1msome warning\033[0m\n"
|
"\033[1;33mWarning: \033[0m\033[1msome warning\033[0m\n"
|
||||||
"\033[1;34mInfo: \033[0m\033[1msome info\033[0m\n"
|
"\033[1;34mInfo: \033[0m\033[1msome info\033[0m\n"
|
||||||
|
|
Loading…
Reference in New Issue