summaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-08-09 17:54:09 (GMT)
committerGitHub <noreply@github.com>2018-08-09 17:54:09 (GMT)
commitb46b86ee607533b64b2225edc1af0319f9e515fd (patch)
tree3da61ced23c0d624d94500a2b8f180c303722118 /googletest
parent6b89cb06a71f0bec2df5ab6ec51e8d587eb0d791 (diff)
parent4e13415ff445923573ecde242eecf917551469cc (diff)
downloadgoogletest-b46b86ee607533b64b2225edc1af0319f9e515fd.zip
googletest-b46b86ee607533b64b2225edc1af0319f9e515fd.tar.gz
googletest-b46b86ee607533b64b2225edc1af0319f9e515fd.tar.bz2
Merge pull request #1719 from happyCoder92/master
docs: fix broken links
Diffstat (limited to 'googletest')
-rw-r--r--googletest/docs/advanced.md4
-rw-r--r--googletest/docs/faq.md5
2 files changed, 5 insertions, 4 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md
index feb8ad6..ffd9480 100644
--- a/googletest/docs/advanced.md
+++ b/googletest/docs/advanced.md
@@ -3,7 +3,7 @@
## Introduction
-Now that you have read the [googletest Primer](primer) and learned how to write
+Now that you have read the [googletest Primer](primer.md) and learned how to write
tests using googletest, it's time to learn some new tricks. This document will
show you more assertions as well as how to construct complex failure messages,
propagate fatal failures, reuse and speed up your test fixtures, and use various
@@ -152,7 +152,7 @@ c is 10
>
> 1. If you see a compiler error "no matching function to call" when using
> `ASSERT_PRED*` or `EXPECT_PRED*`, please see
-> [this](faq#OverloadedPredicate) for how to resolve it.
+> [this](faq.md#OverloadedPredicate) for how to resolve it.
> 1. Currently we only provide predicate assertions of arity <= 5. If you need
> a higher-arity assertion, let [us](https://github.com/google/googletest/issues) know.
diff --git a/googletest/docs/faq.md b/googletest/docs/faq.md
index d613f7b..7d42ff7 100644
--- a/googletest/docs/faq.md
+++ b/googletest/docs/faq.md
@@ -707,8 +707,9 @@ In general, the recommended way to cause the code to behave differently under
test is [Dependency Injection](https://en.wikipedia.org/wiki/Dependency_injection). You can inject
different functionality from the test and from the production code. Since your
production code doesn't link in the for-test logic at all (the
-[`testonly`](http://go/testonly) attribute for BUILD targets helps to ensure
-that), there is no danger in accidentally running it.
+[`testonly`](https://docs.bazel.build/versions/master/be/common-definitions.html#common.testonly)
+attribute for BUILD targets helps to ensure that), there is no danger in
+accidentally running it.
However, if you *really*, *really*, *really* have no choice, and if you follow
the rule of ending your test program names with `_test`, you can use the