diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2019-12-02 15:41:51 +0100 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2020-01-09 02:33:08 +0100 |
commit | 22942058aa9c83acb809d0d4c6b78d29a3c33e12 (patch) | |
tree | cb622a1813a52bfa9ab8ae45b1a73f7c8559ae21 /src/testlib | |
parent | c77efa6d3881554b9e593658fff80acbb8b1388d (diff) |
Doc: Correct qdoc compilation errors qtbase
Task-number: QTBUG-79824
Change-Id: I4be365d92b1adfde09efd04d088f75c506666a95
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/doc/src/qttest-best-practices.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/doc/src/qttest-best-practices.qdoc b/src/testlib/doc/src/qttest-best-practices.qdoc index 952fd3259d..7143e644fd 100644 --- a/src/testlib/doc/src/qttest-best-practices.qdoc +++ b/src/testlib/doc/src/qttest-best-practices.qdoc @@ -270,7 +270,7 @@ When side-effects are unavoidable, ensure that the prior state is restored at the end of the test function, even if the test fails. This commonly requires use of an RAII (resource acquisition is initialization) class - that restores state when the function returns, or a \l cleanup() method. + that restores state when the function returns, or a \c cleanup() method. Do not simply put the restoration code at the end of the test. If part of the test fails, such code will be skipped and the prior state will not be restored. |