Update tests after changing an error message
This commit is contained in:
parent
0a80845e73
commit
c46bdea43a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user