From 2137568ad8a9c2035d75ee6d51e2205c6f7f337f Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 9 Aug 2023 01:26:23 +0200 Subject: [PATCH] Remove debugging leftover in IO tests --- tests/iotests.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/iotests.cpp b/tests/iotests.cpp index 26e2ee4..cadbb7f 100644 --- a/tests/iotests.cpp +++ b/tests/iotests.cpp @@ -650,7 +650,6 @@ void IoTests::testAnsiEscapeCodes() ss1 << EscapeCodes::color(EscapeCodes::Color::Blue, EscapeCodes::Color::Red, EscapeCodes::TextAttribute::Blink) << "blue, blinking text on red background" << EscapeCodes::TextAttribute::Reset << '\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" "\033[1;33mWarning: \033[0m\033[1msome warning\033[0m\n" "\033[1;34mInfo: \033[0m\033[1msome info\033[0m\n"