aboutsummaryrefslogtreecommitdiffstats
path: root/test/gmock-actions_test.cc
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2011-02-23 19:39:27 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2011-02-23 19:39:27 +0000
commited6c9277bb12f2808bb812ae8f91492dac9517b4 (patch)
tree463781d99fd74011cb43829a73bad5023350a22f /test/gmock-actions_test.cc
parentb3e904227f81fc6d2ea577dadbc3e510a989bbd2 (diff)
downloadgoogletest-ed6c9277bb12f2808bb812ae8f91492dac9517b4.tar.gz
googletest-ed6c9277bb12f2808bb812ae8f91492dac9517b4.tar.bz2
googletest-ed6c9277bb12f2808bb812ae8f91492dac9517b4.zip
Makes Google Mock compile much faster and use much less memory; reviewed by Nico Weber. This fixes issue 68.
Diffstat (limited to 'test/gmock-actions_test.cc')
-rw-r--r--test/gmock-actions_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/gmock-actions_test.cc b/test/gmock-actions_test.cc
index e12402b9..b3f8d52b 100644
--- a/test/gmock-actions_test.cc
+++ b/test/gmock-actions_test.cc
@@ -334,8 +334,7 @@ class MyActionImpl : public ActionInterface<MyFunction> {
TEST(ActionInterfaceTest, CanBeImplementedByDefiningPerform) {
MyActionImpl my_action_impl;
-
- EXPECT_FALSE(my_action_impl.IsDoDefault());
+ (void)my_action_impl;
}
TEST(ActionInterfaceTest, MakeAction) {