summaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-08-14 15:08:35 (GMT)
committerGennadiy Civil <misterg@google.com>2018-08-14 15:08:35 (GMT)
commitf225735222b522abcb8286a654e71090403b75a1 (patch)
treee76974b1b0a31c50bdd3ded83e9b0939012900fd /googletest/src
parent15ef6ec064d8f4c3c674ea0135caa9d1d5b1c61c (diff)
downloadgoogletest-f225735222b522abcb8286a654e71090403b75a1.zip
googletest-f225735222b522abcb8286a654e71090403b75a1.tar.gz
googletest-f225735222b522abcb8286a654e71090403b75a1.tar.bz2
Code formatting changes, clean up, no functionality changesrefs/pull/1738/head
Diffstat (limited to 'googletest/src')
-rw-r--r--googletest/src/gtest-death-test.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc
index 854bc46..4da66c0 100644
--- a/googletest/src/gtest-death-test.cc
+++ b/googletest/src/gtest-death-test.cc
@@ -582,7 +582,6 @@ bool DeathTestImpl::Passed(bool status_ok) {
if (status_ok) {
# if GTEST_USES_PCRE
// PCRE regexes support embedded NULs.
- // GTEST_USES_PCRE is defined only in google3 mode
const bool matched = RE::PartialMatch(error_message, *regex());
# else
const bool matched = RE::PartialMatch(error_message.c_str(), *regex());