diff options
| author | Abseil Team <absl-team@google.com> | 2021-01-20 17:47:21 -0500 |
|---|---|---|
| committer | CJ Johnson <johnsoncj@google.com> | 2021-01-26 15:43:12 -0500 |
| commit | a1dde9b182d2f71add6600d97579a7b8d7a14d54 (patch) | |
| tree | 0d922178308e969e3790c1961ed18516f2ec70bc /docs | |
| parent | 59dea67b815a046122d77113d5c6df1df66076bb (diff) | |
| download | googletest-a1dde9b182d2f71add6600d97579a7b8d7a14d54.tar.gz googletest-a1dde9b182d2f71add6600d97579a7b8d7a14d54.zip | |
Googletest export
| `IsEmpty()` | `argument` is an empty string. |
PiperOrigin-RevId: 352880252
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/gmock_cheat_sheet.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/gmock_cheat_sheet.md b/docs/gmock_cheat_sheet.md index 63d38da4..a6ec7bda 100644 --- a/docs/gmock_cheat_sheet.md +++ b/docs/gmock_cheat_sheet.md @@ -329,6 +329,7 @@ The `argument` can be either a C string or a C++ string object: | `ContainsRegex(string)` | `argument` matches the given regular expression. | | `EndsWith(suffix)` | `argument` ends with string `suffix`. | | `HasSubstr(string)` | `argument` contains `string` as a sub-string. | +| `IsEmpty()` | `argument` is an empty string. | | `MatchesRegex(string)` | `argument` matches the given regular expression with the match starting at the first character and ending at the last character. | | `StartsWith(prefix)` | `argument` starts with string `prefix`. | | `StrCaseEq(string)` | `argument` is equal to `string`, ignoring case. | |

