aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
authorChris Baish <43465319+ChrisBaish@users.noreply.github.com>2019-07-18 10:12:27 +0100
committerGitHub <noreply@github.com>2019-07-18 10:12:27 +0100
commitadb490773e8d5f8a84e863f4bd6d96a707750093 (patch)
treeb20c823dbaabe31c1e3053a96770877574578c14 /googletest/docs
parent2ef13f524b837a68bae27ae1123da0400dff6285 (diff)
downloadgoogletest-adb490773e8d5f8a84e863f4bd6d96a707750093.tar.gz
googletest-adb490773e8d5f8a84e863f4bd6d96a707750093.tar.bz2
googletest-adb490773e8d5f8a84e863f4bd6d96a707750093.zip
Update primer.md
Correct formatting in table
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/primer.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/googletest/docs/primer.md b/googletest/docs/primer.md
index ba17ce85..8f5c6e2d 100644
--- a/googletest/docs/primer.md
+++ b/googletest/docs/primer.md
@@ -215,16 +215,16 @@ two `string` objects, use `EXPECT_EQ`, `EXPECT_NE`, and etc instead.
| Fatal assertion | Nonfatal assertion | Verifies |
| ----------------------- | ----------------------- | ---------------------- |
-| `ASSERT_STREQ(str1, | `EXPECT_STREQ(str1, | the two C strings have |
-: str2);` : str2);` : the same content :
-| `ASSERT_STRNE(str1, | `EXPECT_STRNE(str1, | the two C strings have |
-: str2);` : str2);` : different contents :
-| `ASSERT_STRCASEEQ(str1, | `EXPECT_STRCASEEQ(str1, | the two C strings have |
-: str2);` : str2);` : the same content, :
-: : : ignoring case :
-| `ASSERT_STRCASENE(str1, | `EXPECT_STRCASENE(str1, | the two C strings have |
-: str2);` : str2);` : different contents, :
-: : : ignoring case :
+| `ASSERT_STREQ(str1,` | `EXPECT_STREQ(str1,` | the two C strings have |
+| `str2);` | `str2);` | the same content |
+| `ASSERT_STRNE(str1,` | `EXPECT_STRNE(str1,` | the two C strings have |
+| `str2);` | `str2);` | different contents |
+| `ASSERT_STRCASEEQ(str1,`| `EXPECT_STRCASEEQ(str1,`| the two C strings have |
+| `str2);` | `str2);` | the same content, |
+| | | ignoring case |
+| `ASSERT_STRCASENE(str1,`| `EXPECT_STRCASENE(str1,`| the two C strings have |
+| `str2);` | `str2);` | different contents, |
+| | | ignoring case |
Note that "CASE" in an assertion name means that case is ignored. A `NULL`
pointer and an empty string are considered *different*.