aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest-port_test.cc
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-02-23 23:21:55 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-02-23 23:21:55 +0000
commit0af0709b02899f9177db55eba7929e65e5834b29 (patch)
tree96dd43de8d817d4cea7090c7daf548ebc9869237 /test/gtest-port_test.cc
parent3c7868a9a8fab4fd9209bbd2d2f1ae269d063680 (diff)
downloadgoogletest-0af0709b02899f9177db55eba7929e65e5834b29.tar.gz
googletest-0af0709b02899f9177db55eba7929e65e5834b29.tar.bz2
googletest-0af0709b02899f9177db55eba7929e65e5834b29.zip
Cleans up macro definitions.
Diffstat (limited to 'test/gtest-port_test.cc')
-rw-r--r--test/gtest-port_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gtest-port_test.cc b/test/gtest-port_test.cc
index 0041c911..40d36bd1 100644
--- a/test/gtest-port_test.cc
+++ b/test/gtest-port_test.cc
@@ -40,9 +40,9 @@
// included, or there will be a compiler error. This trick is to
// prevent a user from accidentally including gtest-internal-inl.h in
// his code.
-#define GTEST_IMPLEMENTATION
+#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
-#undef GTEST_IMPLEMENTATION
+#undef GTEST_IMPLEMENTATION_
namespace testing {
namespace internal {
@@ -76,7 +76,7 @@ TEST(GtestCheckSyntaxTest, WorksWithSwitch) {
GTEST_CHECK_(true) << "Check failed in switch case";
}
-#ifdef GTEST_HAS_DEATH_TEST
+#if GTEST_HAS_DEATH_TEST
TEST(GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) {
const bool a_false_condition = false;