aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurice Gilden <Maurice.Gilden@teamviewer.com>2017-08-18 15:27:02 +0200
committerMaurice Gilden <Maurice.Gilden@teamviewer.com>2017-08-18 15:27:02 +0200
commitb0ed43e72447c99f297dc86a75d7d58d53af5a07 (patch)
tree33dfaabf1357df2d99b19a19d3ac8823afbbaf5c
parent36777251c07788549eaa72a9be0cf482ab322c46 (diff)
downloadgoogletest-b0ed43e72447c99f297dc86a75d7d58d53af5a07.tar.gz
googletest-b0ed43e72447c99f297dc86a75d7d58d53af5a07.tar.bz2
googletest-b0ed43e72447c99f297dc86a75d7d58d53af5a07.zip
Change tabs to spaces in test case
-rw-r--r--googlemock/test/gmock-nice-strict_test.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/googlemock/test/gmock-nice-strict_test.cc b/googlemock/test/gmock-nice-strict_test.cc
index 1d7784b1..a8032e24 100644
--- a/googlemock/test/gmock-nice-strict_test.cc
+++ b/googlemock/test/gmock-nice-strict_test.cc
@@ -218,19 +218,19 @@ TEST(NiceMockTest, AllowsExpectedCall) {
// default value throws an exception and the exception contains the name of
// the method.
TEST(NiceMockTest, ThrowsExceptionForUnknownReturnTypes) {
- NiceMock<MockFoo> nice_foo;
+ NiceMock<MockFoo> nice_foo;
#if GTEST_HAS_EXCEPTIONS
- try {
- nice_foo.ReturnSomething();
- FAIL();
- } catch (const std::runtime_error& ex) {
- const std::string exception_msg(ex.what());
- EXPECT_NE(exception_msg.find("ReturnSomething"), std::string::npos);
- }
+ try {
+ nice_foo.ReturnSomething();
+ FAIL();
+ } catch (const std::runtime_error& ex) {
+ const std::string exception_msg(ex.what());
+ EXPECT_NE(exception_msg.find("ReturnSomething"), std::string::npos);
+ }
#else
- EXPECT_DEATH_IF_SUPPORTED({
- nice_foo.ReturnSomething();
- }, "");
+ EXPECT_DEATH_IF_SUPPORTED({
+ nice_foo.ReturnSomething();
+ }, "");
#endif
}