Fix small errors in primer.md

pull/2342/head
Rytis Karpuška 6 years ago
parent b77e5c7625
commit e93b5e06ba
  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