Moved table to single lines

This commit is contained in:
Chris Baish 2019-07-19 07:31:15 +01:00
parent d64e4cf14e
commit af11cda565

View File

@ -214,16 +214,16 @@ 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. two `string` objects, use `EXPECT_EQ`, `EXPECT_NE`, and etc instead.
| Fatal assertion | Nonfatal assertion | Verifies | | Fatal assertion | Nonfatal assertion | Verifies |
| ----------------------- | ----------------------- | ---------------------- | | -------------------------- | ------------------------------ | ---------------------- |
| `ASSERT_STREQ(str1,` | `EXPECT_STREQ(str1,` | the two C strings have | | `ASSERT_STREQ(str1,str2);` | `EXPECT_STREQ(str1,str2);` | the two C strings have |
| `str2);` | `str2);` | the same content | | | | the same content |
| `ASSERT_STRNE(str1,` | `EXPECT_STRNE(str1,` | the two C strings have | | `ASSERT_STRNE(str1,str2);` | `EXPECT_STRNE(str1,str2);` | the two C strings have |
| `str2);` | `str2);` | different contents | | | | different contents |
| `ASSERT_STRCASEEQ(str1,`| `EXPECT_STRCASEEQ(str1,`| the two C strings have | | `ASSERT_STRCASEEQ(str1,str2);` | `EXPECT_STRCASEEQ(str1,str2);` | the two C strings have |
| `str2);` | `str2);` | the same content, | | | | the same content, |
| | | ignoring case | | | | ignoring case |
| `ASSERT_STRCASENE(str1,`| `EXPECT_STRCASENE(str1,`| the two C strings have | | `ASSERT_STRCASENE(str1,str2);` | `EXPECT_STRCASENE(str1,str2);` | the two C strings have |
| `str2);` | `str2);` | different contents, | | | | different contents, |
| | | ignoring case | | | | ignoring case |
Note that "CASE" in an assertion name means that case is ignored. A `NULL` Note that "CASE" in an assertion name means that case is ignored. A `NULL`