Commit c46bdea4 authored by Vladimir Goncharov's avatar Vladimir Goncharov
Browse files

Update tests after changing an error message

parent 0a80845e
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment