diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-07-18 14:09:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 14:09:06 -0400 |
commit | 43163c19d5ab08c47ff24f9320758092af6e38e8 (patch) | |
tree | 0257d2004642fddeb101a0b0a6653ea723ece533 /googlemock/test/gmock_ex_test.cc | |
parent | a091b753325322d329dc89262bfe5ad0ab20f1bf (diff) | |
parent | 4235fff7f4c3d96319e18bbcc5cc2eacee12b6da (diff) | |
download | googletest-43163c19d5ab08c47ff24f9320758092af6e38e8.tar.gz googletest-43163c19d5ab08c47ff24f9320758092af6e38e8.tar.bz2 googletest-43163c19d5ab08c47ff24f9320758092af6e38e8.zip |
Merge branch 'master' into ignore-ds-store
Diffstat (limited to 'googlemock/test/gmock_ex_test.cc')
-rw-r--r-- | googlemock/test/gmock_ex_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/test/gmock_ex_test.cc b/googlemock/test/gmock_ex_test.cc index 99268b31..b03de82e 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 |