diff options
author | Abseil Team <absl-team@google.com> | 2021-02-10 20:39:22 -0500 |
---|---|---|
committer | Derek Mauro <dmauro@google.com> | 2021-02-18 13:26:12 -0500 |
commit | e935e6c387cdf541f73b2cbbbe02e651c12887a9 (patch) | |
tree | ffbc77837679ce2f38211bcca997b10f0cb9e020 /docs/primer.md | |
parent | 609281088cfefc76f9d0ce82e1ff6c30cc3591e5 (diff) | |
download | googletest-e935e6c387cdf541f73b2cbbbe02e651c12887a9.zip googletest-e935e6c387cdf541f73b2cbbbe02e651c12887a9.tar.gz googletest-e935e6c387cdf541f73b2cbbbe02e651c12887a9.tar.bz2 |
Googletest export
Internal change
PiperOrigin-RevId: 356867746
Diffstat (limited to 'docs/primer.md')
-rw-r--r-- | docs/primer.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/primer.md b/docs/primer.md index c4f7a33..0e24f3e 100644 --- a/docs/primer.md +++ b/docs/primer.md @@ -66,13 +66,11 @@ deprecated and refactored away. So please be aware of the different definitions of the terms: -<!-- mdformat off(github rendering does not support multiline tables) --> Meaning | googletest Term | [ISTQB](http://www.istqb.org/) Term :----------------------------------------------------------------------------------- | :---------------------- | :---------------------------------- Exercise a particular program path with specific input values and verify the results | [TEST()](#simple-tests) | [Test Case][istqb test case] -<!-- mdformat on --> [istqb test case]: http://glossary.istqb.org/en/search/test%20case [istqb test suite]: http://glossary.istqb.org/en/search/test%20suite @@ -218,7 +216,6 @@ 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. -<!-- mdformat off(github rendering does not support multiline tables) --> | Fatal assertion | Nonfatal assertion | Verifies | | -------------------------- | ------------------------------ | -------------------------------------------------------- | @@ -227,7 +224,6 @@ two `string` objects, use `EXPECT_EQ`, `EXPECT_NE`, and etc instead. | `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 | -<!-- mdformat on --> Note that "CASE" in an assertion name means that case is ignored. A `NULL` pointer and an empty string are considered *different*. |