summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock_ex_test.cc
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-07-18 15:30:36 (GMT)
committerGennadiy Civil <misterg@google.com>2018-07-18 15:30:36 (GMT)
commit8d07cfd0532352379c624ce8844aeca0dc68a585 (patch)
tree7fbcd68087bb58aa4ba07c28ac19ef1884963388 /googlemock/test/gmock_ex_test.cc
parent7e73a7ae6e665e3a9e34543090625ab8278412bb (diff)
downloadgoogletest-8d07cfd0532352379c624ce8844aeca0dc68a585.zip
googletest-8d07cfd0532352379c624ce8844aeca0dc68a585.tar.gz
googletest-8d07cfd0532352379c624ce8844aeca0dc68a585.tar.bz2
Code sync, mostly formatting and removing outdates
Diffstat (limited to 'googlemock/test/gmock_ex_test.cc')
-rw-r--r--googlemock/test/gmock_ex_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/test/gmock_ex_test.cc b/googlemock/test/gmock_ex_test.cc
index 99268b3..b03de82 100644
--- a/googlemock/test/gmock_ex_test.cc
+++ b/googlemock/test/gmock_ex_test.cc
@@ -38,6 +38,7 @@
namespace {
using testing::HasSubstr;
+
using testing::internal::GoogleTestFailureException;
// A type that cannot be default constructed.
@@ -53,7 +54,6 @@ class MockFoo {
MOCK_METHOD0(GetNonDefaultConstructible, NonDefaultConstructible());
};
-
TEST(DefaultValueTest, ThrowsRuntimeErrorWhenNoDefaultValue) {
MockFoo mock;
try {
@@ -76,5 +76,6 @@ TEST(DefaultValueTest, ThrowsRuntimeErrorWhenNoDefaultValue) {
}
}
+
} // unnamed namespace
#endif