diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2019-02-25 17:43:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 17:43:55 (GMT) |
commit | 5154386c5f762af659a073f4b074ed538836a163 (patch) | |
tree | b3dc2a6e884eb98417a429a97ad369d200a15352 /googletest | |
parent | 37ae1fc5e6be26f367d76c078beabd7024fed53a (diff) | |
parent | d70cd4e3585999ee4a41c2028c9837071ba07ab3 (diff) | |
download | googletest-5154386c5f762af659a073f4b074ed538836a163.zip googletest-5154386c5f762af659a073f4b074ed538836a163.tar.gz googletest-5154386c5f762af659a073f4b074ed538836a163.tar.bz2 |
Merge pull request #2152 from rsinnet/patch-1
Fix grammatical error in primer.md
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/docs/primer.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/docs/primer.md b/googletest/docs/primer.md index 6344ba3..fb96cdf 100644 --- a/googletest/docs/primer.md +++ b/googletest/docs/primer.md @@ -190,7 +190,7 @@ evaluation order. tests if they are in the same memory location, not if they have the same value. Therefore, if you want to compare C strings (e.g. `const char*`) by value, use `ASSERT_STREQ()`, which will be described later on. In particular, to assert -that a C string is `NULL`, use `ASSERT_STREQ(c_string, NULL)`. Consider use +that a C string is `NULL`, use `ASSERT_STREQ(c_string, NULL)`. Consider using `ASSERT_EQ(c_string, nullptr)` if c++11 is supported. To compare two `string` objects, you should use `ASSERT_EQ`. |