diff options
author | Carlos O'Ryan <coryan@google.com> | 2017-07-01 09:51:45 -0400 |
---|---|---|
committer | Carlos O'Ryan <coryan@google.com> | 2017-07-01 09:51:45 -0400 |
commit | 280b22708c014bd29a51eee5982e941231c7925f (patch) | |
tree | bb90e0431b3430da67193868cefe82ddeeabc299 /googlemock/docs/v1_6 | |
parent | 4bab34d2084259cba67f3bfb51217c10d606e175 (diff) | |
download | googletest-280b22708c014bd29a51eee5982e941231c7925f.tar.gz googletest-280b22708c014bd29a51eee5982e941231c7925f.tar.bz2 googletest-280b22708c014bd29a51eee5982e941231c7925f.zip |
Fix table formatting.
The markdown was not working for a small table, fixed.
Diffstat (limited to 'googlemock/docs/v1_6')
-rw-r--r-- | googlemock/docs/v1_6/CookBook.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/googlemock/docs/v1_6/CookBook.md b/googlemock/docs/v1_6/CookBook.md index f5975a00..46a2ea1f 100644 --- a/googlemock/docs/v1_6/CookBook.md +++ b/googlemock/docs/v1_6/CookBook.md @@ -1037,9 +1037,10 @@ a value that satisfies matcher `m`. For example: -> | `Field(&Foo::number, Ge(3))` | Matches `x` where `x.number >= 3`. | +| Expression | Description | |:-----------------------------|:-----------------------------------| -> | `Property(&Foo::name, StartsWith("John "))` | Matches `x` where `x.name()` starts with `"John "`. | +| `Field(&Foo::number, Ge(3))` | Matches `x` where `x.number >= 3`. | +| `Property(&Foo::name, StartsWith("John "))` | Matches `x` where `x.name()` starts with `"John "`. | Note that in `Property(&Foo::baz, ...)`, method `baz()` must take no argument and be declared as `const`. |