Googletest export

Fixes #3222, fixes #3225, closes #3223

PiperOrigin-RevId: 352066131
This commit is contained in:
Abseil Team
2021-01-15 15:50:04 -05:00
committed by Derek Mauro
parent 5ae6e6e7e1
commit d128fc8252
6 changed files with 10 additions and 14 deletions

View File

@@ -289,8 +289,7 @@ will be changed.
`IsTrue` and `IsFalse` are useful when you need to use a matcher, or for types
that can be explicitly converted to Boolean, but are not implicitly converted to
Boolean. In other cases, you can use the basic
[`EXPECT_TRUE` and `EXPECT_FALSE`](../../googletest/docs/primer#basic-assertions)
assertions.
[`EXPECT_TRUE` and `EXPECT_FALSE`](primer.md#basic-assertions) assertions.
### Floating-Point Matchers {#FpMatchers}
@@ -340,9 +339,8 @@ The `argument` can be either a C string or a C++ string object:
`ContainsRegex()` and `MatchesRegex()` take ownership of the `RE` object. They
use the regular expression syntax defined
[here](../../googletest/docs/advanced.md#regular-expression-syntax). All of
these matchers, except `ContainsRegex()` and `MatchesRegex()` work for wide
strings as well.
[here](advanced.md#regular-expression-syntax). All of these matchers, except
`ContainsRegex()` and `MatchesRegex()` work for wide strings as well.
### Container Matchers