diff options
Diffstat (limited to 'test/gmock-nice-strict_test.cc')
-rw-r--r-- | test/gmock-nice-strict_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gmock-nice-strict_test.cc b/test/gmock-nice-strict_test.cc index e3344180..315a8221 100644 --- a/test/gmock-nice-strict_test.cc +++ b/test/gmock-nice-strict_test.cc @@ -141,12 +141,12 @@ TEST(NiceMockTest, InfoForUninterestingCall) { GMOCK_FLAG(verbose) = "info"; CaptureStdout(); nice_foo.DoThis(); - EXPECT_THAT(GetCapturedStdout(), + EXPECT_THAT(std::string(GetCapturedStdout()), HasSubstr("Uninteresting mock function call")); CaptureStdout(); nice_foo.DoThat(true); - EXPECT_THAT(GetCapturedStdout(), + EXPECT_THAT(std::string(GetCapturedStdout()), HasSubstr("Uninteresting mock function call")); GMOCK_FLAG(verbose) = saved_flag; } |