[msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors
This commit is contained in:
committed by
Matthieu Longo
parent
bc2d0935b7
commit
c9fe337ae2
@@ -6826,7 +6826,7 @@ TEST(ColoredOutputTest, UsesColorsWhenStdoutIsTty) {
|
||||
TEST(ColoredOutputTest, UsesColorsWhenTermSupportsColors) {
|
||||
GTEST_FLAG(color) = "auto";
|
||||
|
||||
#if GTEST_OS_WINDOWS
|
||||
#if GTEST_OS_WINDOWS && !GTEST_OS_WINDOWS_MINGW
|
||||
// On Windows, we ignore the TERM variable as it's usually not set.
|
||||
|
||||
SetEnv("TERM", "dumb");
|
||||
|
||||
Reference in New Issue
Block a user