Skip to content

Commit f1cbf8b

Browse files
committed
Fix link to tests chapter
1 parent a3203ba commit f1cbf8b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Book/php7/extensions_design/php_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Both just set the type and value of the ``return_value`` zval, but ``RETURN_***(
354354
Adding tests
355355
************
356356

357-
If you have read :doc:`the chapter about tests <../tests>`, you should now write a simple test::
357+
If you have read the chapter about tests (see :ref:`tests_introduction`), you should now write a simple test::
358358

359359
--TEST--
360360
Test fahrenheit_to_celsius

Book/tests/introduction.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _tests_introduction:
2+
13
Testing with ``.phpt`` files
24
============================
35

0 commit comments

Comments
 (0)