diff options
author | Stian Valle <stianvalle@gmail.com> | 2018-07-21 13:29:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 13:29:58 (GMT) |
commit | baf2115a592758f207c52dd95db42b1962c7aac7 (patch) | |
tree | 7a91a0bd6f96e6bf23c87c38471fc2ca43c39ba8 /googletest | |
parent | 2a151c93c180ac765c27c5f2e37af9366abd4d55 (diff) | |
download | googletest-baf2115a592758f207c52dd95db42b1962c7aac7.zip googletest-baf2115a592758f207c52dd95db42b1962c7aac7.tar.gz googletest-baf2115a592758f207c52dd95db42b1962c7aac7.tar.bz2 |
Update primer.md
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/docs/primer.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/googletest/docs/primer.md b/googletest/docs/primer.md index f7f26eb..81d8be4 100644 --- a/googletest/docs/primer.md +++ b/googletest/docs/primer.md @@ -203,7 +203,7 @@ for more details. If you're working with floating point numbers, you may want to use the floating point variations of some of these macros in order to avoid problems caused by -rounding. See [Advanced googletest Topics](advanced) for details. +rounding. See [Advanced googletest Topics](advanced.md) for details. Macros in this section work with both narrow and wide string objects (`string` and `wstring`). @@ -222,15 +222,15 @@ 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 : +| str2);` | str2);` | the same content | | `ASSERT_STRNE(str1, | `EXPECT_STRNE(str1, | the two C strings have | -: str2);` : str2);` : different contents : +| str2);` | str2);` | different contents | | `ASSERT_STRCASEEQ(str1, | `EXPECT_STRCASEEQ(str1, | the two C strings have | -: str2);` : str2);` : the same content, : -: : : ignoring case : +| str2);` | str2);` | the same content, | +| | | ignoring case | | `ASSERT_STRCASENE(str1, | `EXPECT_STRCASENE(str1, | the two C strings have | -: str2);` : str2);` : different contents, : -: : : ignoring case : +| 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*. |