summaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
authortommyleo2 <137581768@qq.com>2016-09-02 11:45:48 (GMT)
committerGitHub <noreply@github.com>2016-09-02 11:45:48 (GMT)
commit82396f2d544a2a006b8674342d968cc991dd6d68 (patch)
tree3c96d0417e470028c028ada2ce980c271cd24957 /googletest/docs
parented9d1e1ff92ce199de5ca2667a667cd0a368482a (diff)
downloadgoogletest-82396f2d544a2a006b8674342d968cc991dd6d68.zip
googletest-82396f2d544a2a006b8674342d968cc991dd6d68.tar.gz
googletest-82396f2d544a2a006b8674342d968cc991dd6d68.tar.bz2
Update Primer.mdrefs/pull/871/head
fix bug in string comparison assertions table where _str2_ is mistakenly written as _str_2
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/Primer.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/docs/Primer.md b/googletest/docs/Primer.md
index 474c1d2..d2bc7f0 100644
--- a/googletest/docs/Primer.md
+++ b/googletest/docs/Primer.md
@@ -179,7 +179,7 @@ two `string` objects, use `EXPECT_EQ`, `EXPECT_NE`, and etc instead.
| **Fatal assertion** | **Nonfatal assertion** | **Verifies** |
|:--------------------|:-----------------------|:-------------|
-| `ASSERT_STREQ(`_str1_`, `_str2_`);` | `EXPECT_STREQ(`_str1_`, `_str_2`);` | the two C strings have the same content |
+| `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 content |
| `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 content, ignoring case |