diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-09-16 07:02:02 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-09-16 07:02:02 +0000 |
commit | f5e1ce5b9237edbc2e524ae9ebcb2452dc842937 (patch) | |
tree | f02cea51a3eb519f36631db3e1826fd35624979d /src | |
parent | c53b3dca1b9ad6a6480b13744753916146b891d3 (diff) | |
download | googletest-f5e1ce5b9237edbc2e524ae9ebcb2452dc842937.tar.gz googletest-f5e1ce5b9237edbc2e524ae9ebcb2452dc842937.tar.bz2 googletest-f5e1ce5b9237edbc2e524ae9ebcb2452dc842937.zip |
Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad Losev).
Diffstat (limited to 'src')
-rw-r--r-- | src/gmock-spec-builders.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmock-spec-builders.cc b/src/gmock-spec-builders.cc index 94ba24bb..72558658 100644 --- a/src/gmock-spec-builders.cc +++ b/src/gmock-spec-builders.cc @@ -203,8 +203,8 @@ class MockObjectRegistry { // This can help the user identify the leaked object. std::cout << "\n"; const MockObjectState& state = it->second; - internal::FormatFileLocation( - state.first_used_file, state.first_used_line, &std::cout); + std::cout << internal::FormatFileLocation(state.first_used_file, + state.first_used_line); std::cout << " ERROR: this mock object"; if (state.first_used_test != "") { std::cout << " (used in test " << state.first_used_test_case << "." |