Merge pull request #2342 from Jauler:master

PiperOrigin-RevId: 260556093
pull/2351/head
Gennadiy Civil 5 years ago
commit 05747d2ee7
  1. 4
      googletest/docs/primer.md

@ -193,7 +193,7 @@ objects, you should use `ASSERT_EQ`.
When doing pointer comparisons use `*_EQ(ptr, nullptr)` and `*_NE(ptr, nullptr)`
instead of `*_EQ(ptr, NULL)` and `*_NE(ptr, NULL)`. This is because `nullptr` is
typed while `NULL` is not. See [FAQ](faq.md)for more details.
typed while `NULL` is not. See [FAQ](faq.md) 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
@ -456,7 +456,7 @@ When invoked, the `RUN_ALL_TESTS()` macro:
* Deletes the fixture.
* Restores the state of all all googletest flags
* Restores the state of all googletest flags
* Repeats the above steps for the next test, until all tests have run.

Loading…
Cancel
Save