diff options
author | Vladimir Goncharov <amatanhead@yandex-team.ru> | 2020-07-07 16:30:37 (GMT) |
---|---|---|
committer | Vladimir Goncharov <amatanhead@yandex-team.ru> | 2020-08-03 20:47:57 (GMT) |
commit | c46bdea43ace31b3f62ccffc60387e7e329dc190 (patch) | |
tree | 46013133411e0f3867b32d36f00b0709e145ef9e /googlemock | |
parent | 0a80845e73d5b6c87c87eec6b5777224542d8bd9 (diff) | |
download | googletest-c46bdea43ace31b3f62ccffc60387e7e329dc190.zip googletest-c46bdea43ace31b3f62ccffc60387e7e329dc190.tar.gz googletest-c46bdea43ace31b3f62ccffc60387e7e329dc190.tar.bz2 |
Update tests after changing an error message
Diffstat (limited to 'googlemock')
-rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index 21ade89..63cd99b 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) { |