Move Windows implementation of print_colored to a separate branch

as it needs further testing.
This commit is contained in:
Victor Zverovich
2015-02-19 07:54:59 -08:00
parent a92205be9c
commit 53010624a0
2 changed files with 0 additions and 36 deletions
-7
View File
@@ -1377,15 +1377,8 @@ TEST(FormatTest, Print) {
#if FMT_USE_FILE_DESCRIPTORS
TEST(FormatTest, PrintColored) {
#if _WIN32
//EXPECT_WRITE(stdout, fmt::print_colored(fmt::RED, "Hello, {}!\n", "world"),
// "Hello, world!\n");
//EXPECT_WRITE(stdout, fmt::print_colored(static_cast<fmt::Color>(29673),
// "Hello, {}!\n", "world"), "Hello, world!\n");
#else
EXPECT_WRITE(stdout, fmt::print_colored(fmt::RED, "Hello, {}!\n", "world"),
"\x1b[31mHello, world!\n\x1b[0m");
#endif
}
#endif