Skip to content

Commit 10799ab

Browse files
authored
Merge pull request google#810 from google/rollback_808
Rollback change google#808.
2 parents faee7d1 + ce7ec96 commit 10799ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

googletest/include/gtest/gtest.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1857,13 +1857,13 @@ class TestWithParam : public Test, public WithParamInterface<T> {
18571857
// AssertionResult. For more information on how to use AssertionResult with
18581858
// these macros see comments on that class.
18591859
#define EXPECT_TRUE(condition) \
1860-
GTEST_TEST_BOOLEAN_(!!(condition), #condition, false, true, \
1860+
GTEST_TEST_BOOLEAN_((condition), #condition, false, true, \
18611861
GTEST_NONFATAL_FAILURE_)
18621862
#define EXPECT_FALSE(condition) \
18631863
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
18641864
GTEST_NONFATAL_FAILURE_)
18651865
#define ASSERT_TRUE(condition) \
1866-
GTEST_TEST_BOOLEAN_(!!(condition), #condition, false, true, \
1866+
GTEST_TEST_BOOLEAN_((condition), #condition, false, true, \
18671867
GTEST_FATAL_FAILURE_)
18681868
#define ASSERT_FALSE(condition) \
18691869
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \

0 commit comments

Comments
 (0)