aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs/cook_book.md
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-08-02 10:58:20 -0400
committerGennadiy Civil <misterg@google.com>2019-08-02 11:32:23 -0400
commit6a2adc0eedd8ca47f1808dcd315b17666fb2fbe4 (patch)
tree14676d7c55292cbb927e1607390b56075ee945ea /googlemock/docs/cook_book.md
parentc8d338c629e598e2afca391602a0ba719541a8dc (diff)
downloadgoogletest-6a2adc0eedd8ca47f1808dcd315b17666fb2fbe4.tar.gz
googletest-6a2adc0eedd8ca47f1808dcd315b17666fb2fbe4.tar.bz2
googletest-6a2adc0eedd8ca47f1808dcd315b17666fb2fbe4.zip
Googletest export
Remove markdown extension which isn't supported on github. PiperOrigin-RevId: 261321329
Diffstat (limited to 'googlemock/docs/cook_book.md')
-rw-r--r--googlemock/docs/cook_book.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md
index 676560bf..0352ef65 100644
--- a/googlemock/docs/cook_book.md
+++ b/googlemock/docs/cook_book.md
@@ -1195,11 +1195,12 @@ that satisfies matcher `m`.
For example:
+<!-- mdformat off(github rendering does not support multiline tables) -->
| Expression | Description |
| :--------------------------- | :--------------------------------------- |
| `Field(&Foo::number, Ge(3))` | Matches `x` where `x.number >= 3`. |
-| `Property(&Foo::name, | Matches `x` where `x.name()` starts with |
-: StartsWith("John "))` : `"John "`. :
+| `Property(&Foo::name, StartsWith("John "))` | Matches `x` where `x.name()` starts with `"John "`. |
+<!-- mdformat on -->
Note that in `Property(&Foo::baz, ...)`, method `baz()` must take no argument
and be declared as `const`.