summaryrefslogtreecommitdiffstats
path: root/googletest/docs/primer.md
diff options
context:
space:
mode:
authorJakub Młokosiewicz <luke@luke.co.pl>2018-07-16 22:49:31 (GMT)
committerGitHub <noreply@github.com>2018-07-16 22:49:31 (GMT)
commit021c308069cce3751c8620c922c7a226836044b3 (patch)
tree361a192f686a113982dcf98a0058afeab4596cd0 /googletest/docs/primer.md
parent077ee54cefd247656ac9a995e150e0d1ab9d0bf7 (diff)
downloadgoogletest-021c308069cce3751c8620c922c7a226836044b3.zip
googletest-021c308069cce3751c8620c922c7a226836044b3.tar.gz
googletest-021c308069cce3751c8620c922c7a226836044b3.tar.bz2
Fix broken links to FAQ in primer.mdrefs/pull/1667/head
Diffstat (limited to 'googletest/docs/primer.md')
-rw-r--r--googletest/docs/primer.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/docs/primer.md b/googletest/docs/primer.md
index 9949658..15f2b08 100644
--- a/googletest/docs/primer.md
+++ b/googletest/docs/primer.md
@@ -197,7 +197,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#Why_does_googletest_support_EXPECT_EQ)
+typed while `NULL` is not. See [FAQ](faq.md#why-does-google-test-support-expect_eqnull-ptr-and-assert_eqnull-ptr-but-not-expect_nenull-ptr-and-assert_nenull-ptr)
for more details.
If you're working with floating point numbers, you may want to use the floating
@@ -322,7 +322,7 @@ To create a fixture:
1. If necessary, write a destructor or `TearDown()` function to release any
resources you allocated in `SetUp()` . To learn when you should use the
constructor/destructor and when you should use `SetUp()/TearDown()`, read
- this [FAQ](faq#CtorVsSetUp) entry.
+ this [FAQ](faq.md#should-i-use-the-constructordestructor-of-the-test-fixture-or-the-set-uptear-down-function) entry.
1. If needed, define subroutines for your tests to share.
When using a fixture, use `TEST_F()` instead of `TEST()` as it allows you to