]> git-server-git.apps.pok.os.sepia.ceph.com Git - googletest.git/commitdiff
Update primer.md
authorChris Baish <43465319+ChrisBaish@users.noreply.github.com>
Thu, 18 Jul 2019 09:12:27 +0000 (10:12 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jul 2019 09:12:27 +0000 (10:12 +0100)
Correct formatting in table

googletest/docs/primer.md

index ba17ce85ce907fb9929b5e3d354d04af09336c5c..8f5c6e2d7d1ca855f6b0fe9e02a1dbbd2e1e2f89 100644 (file)
@@ -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*.