Fix ColoredOutputTest.UsesColorsWhenTermSupportsColors again
This commit is contained in:
parent
cecea92af8
commit
2b2b8d71c1
|
@ -6858,7 +6858,7 @@ TEST(ColoredOutputTest, UsesColorsWhenStdoutIsTty) {
|
||||||
TEST(ColoredOutputTest, UsesColorsWhenTermSupportsColors) {
|
TEST(ColoredOutputTest, UsesColorsWhenTermSupportsColors) {
|
||||||
GTEST_FLAG(color) = "auto";
|
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.
|
// On Windows, we ignore the TERM variable as it's usually not set.
|
||||||
|
|
||||||
SetEnv("TERM", "dumb");
|
SetEnv("TERM", "dumb");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user