From a1dde9b182d2f71add6600d97579a7b8d7a14d54 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 20 Jan 2021 17:47:21 -0500 Subject: Googletest export | `IsEmpty()` | `argument` is an empty string. | PiperOrigin-RevId: 352880252 --- docs/gmock_cheat_sheet.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/gmock_cheat_sheet.md b/docs/gmock_cheat_sheet.md index 63d38da..a6ec7bd 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. | -- cgit v0.12