summaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
authorChris Baish <chris.baish@gmail.com>2019-07-19 06:31:15 (GMT)
committerChris Baish <chris.baish@gmail.com>2019-07-19 06:31:15 (GMT)
commitaf11cda5656cdaebbd077810a8b469985499ba57 (patch)
treeb6113c6079110a79c41b11b234af8f1cbaf4323d /googletest/docs
parentd64e4cf14e488f10374df7548513667e4fba6399 (diff)
downloadgoogletest-af11cda5656cdaebbd077810a8b469985499ba57.zip
googletest-af11cda5656cdaebbd077810a8b469985499ba57.tar.gz
googletest-af11cda5656cdaebbd077810a8b469985499ba57.tar.bz2
Moved table to single lines
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/primer.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/googletest/docs/primer.md b/googletest/docs/primer.md
index b8d48ba..b0646c5 100644
--- a/googletest/docs/primer.md
+++ b/googletest/docs/primer.md
@@ -213,18 +213,18 @@ as `ASSERT_EQ(expected, actual)`, so lots of existing code uses this order. Now
The assertions in this group compare two **C strings**. If you want to compare
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 |
+| Fatal assertion | Nonfatal assertion | Verifies |
+| -------------------------- | ------------------------------ | ---------------------- |
+| `ASSERT_STREQ(str1,str2);` | `EXPECT_STREQ(str1,str2);` | the two C strings have |
+| | | the same content |
+| `ASSERT_STRNE(str1,str2);` | `EXPECT_STRNE(str1,str2);` | the two C strings have |
+| | | different contents |
+| `ASSERT_STRCASEEQ(str1,str2);` | `EXPECT_STRCASEEQ(str1,str2);` | the two C strings have |
+| | | the same content, |
+| | | ignoring case |
+| `ASSERT_STRCASENE(str1,str2);` | `EXPECT_STRCASENE(str1,str2);` | the two C strings have |
+| | | 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*.