diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index 21ade890..63cd99b9 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -8210,7 +8210,7 @@ TEST(ThrowsTest, FailWrongTypeNonStd) { []() { throw 10; }, &listener)); EXPECT_THAT( listener.str(), - testing::HasSubstr("throws an exception of some other type")); + testing::HasSubstr("throws an exception of an unknown type")); } TEST(ThrowsTest, FailNoThrow) { @@ -8262,7 +8262,7 @@ TEST_P(ThrowsPredicateTest, FailWrongTypeNonStd) { []() { throw 10; }, &listener)); EXPECT_THAT( listener.str(), - testing::HasSubstr("throws an exception of some other type")); + testing::HasSubstr("throws an exception of an unknown type")); } TEST_P(ThrowsPredicateTest, FailWrongMessage) {