mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
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…
x
Reference in New Issue
Block a user