mirror of
https://github.com/google/googletest.git
synced 2025-01-08 21:33:41 +08:00
Fix ColoredOutputTest.UsesColorsWhenTermSupportsColors again
This commit is contained in:
parent
cecea92af8
commit
2b2b8d71c1
@ -6858,7 +6858,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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user