Fix small errors in primer.md

This commit is contained in:
Rytis Karpuška 2019-07-23 18:51:35 +03:00
parent b77e5c7625
commit e93b5e06ba

View File

@ -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.