aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs/v1_7/CookBook.md
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@google.com>2017-07-01 09:51:45 -0400
committerCarlos O'Ryan <coryan@google.com>2017-07-01 09:51:45 -0400
commit280b22708c014bd29a51eee5982e941231c7925f (patch)
treebb90e0431b3430da67193868cefe82ddeeabc299 /googlemock/docs/v1_7/CookBook.md
parent4bab34d2084259cba67f3bfb51217c10d606e175 (diff)
downloadgoogletest-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_7/CookBook.md')
-rw-r--r--googlemock/docs/v1_7/CookBook.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/googlemock/docs/v1_7/CookBook.md b/googlemock/docs/v1_7/CookBook.md
index 419a0010..60024075 100644
--- a/googlemock/docs/v1_7/CookBook.md
+++ b/googlemock/docs/v1_7/CookBook.md
@@ -1030,9 +1030,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`.