Merge pull request #4146 from lygstate:fixes_std_pair_diff
PiperOrigin-RevId: 528781910 Change-Id: I4038332a6255921792bfb4a8098aa84243d48e15
This commit is contained in:
@@ -3312,11 +3312,7 @@ TEST_F(SingleEvaluationTest, OtherCases) {
|
||||
|
||||
#if GTEST_HAS_RTTI
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define ERROR_DESC "class std::runtime_error"
|
||||
#else
|
||||
#define ERROR_DESC "std::runtime_error"
|
||||
#endif
|
||||
|
||||
#else // GTEST_HAS_RTTI
|
||||
|
||||
@@ -6679,7 +6675,7 @@ TEST(ColoredOutputTest, UsesColorsWhenTermSupportsColors) {
|
||||
SetEnv("TERM", "linux"); // TERM supports colors.
|
||||
EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY.
|
||||
|
||||
SetEnv("TERM", "cygwin"); // TERM supports colors.
|
||||
SetEnv("TERM", "cygwin"); // TERM supports colors.
|
||||
EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY.
|
||||
#endif // GTEST_OS_WINDOWS
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user