Skip to content

Commit fb8b522

Browse files
committed
Fix broken link mistake
1 parent cb9e827 commit fb8b522

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/cargo/test.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Each file in `tests` is a separate
2525
i.e. a test that is meant to test your library as if it were being called from a dependent
2626
crate.
2727

28-
The [Testing](testing.md) chapter elaborates on the three different testing styles:
29-
[Unit](testing/unit_testing.md), [Doc](testing/doc_testing.md), and [Integration](testing/integration_testing.md).
28+
The [Testing][testing] chapter elaborates on the three different testing styles:
29+
[Unit][unit_testing], [Doc][doc_testing], and [Integration][integration_testing].
3030

3131
`cargo` naturally provides an easy way to run all of your tests!
3232

@@ -147,3 +147,8 @@ Ferris
147147
Corro
148148
Ferris
149149
```
150+
151+
[testing]: ../testing.md
152+
[unit_testing]: ../testing/unit_testing.md
153+
[integration_testing]: ../testing/unit_testing.md
154+
[doc_testing]: ../testing/doc_testing.md

0 commit comments

Comments
 (0)