diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-01-31 16:31:18 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-01-31 21:46:49 +0100 |
commit | 4af3cf275fc9f5e721fab6b05fc05cf7bdbe5c99 (patch) | |
tree | 920aebec078631d1a78fa2286a29270f69399cb4 | |
parent | ddc67dcc5a270a3739514c23b88ed8612f0ae1f0 (diff) |
[docs] Fix C'n'P error in QTRY_VERIFY2 example
It's not the _WITH_TIMEOUT variant (the timeout is missing).
Amends a change preceding b24bb12f6a93b98e9bc44c99e151b995eb7cea71,
the commit that moved all the documentation into qtestcase.qdoc in the
first place. I didn't track the change back further than that.
Pick-to: 6.7 6.6 6.5 6.2 5.15
Change-Id: I79ccd84a5dbed20012fa1a2d3561945f8a7638d5
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
-rw-r--r-- | src/testlib/qtestcase.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc index 05cbf3f276..7503e8e709 100644 --- a/src/testlib/qtestcase.qdoc +++ b/src/testlib/qtestcase.qdoc @@ -413,7 +413,7 @@ Example: \code - QTRY_VERIFY2_WITH_TIMEOUT(list.size() > 2, QByteArray::number(list.size()).constData()); + QTRY_VERIFY2(list.size() > 2, QByteArray::number(list.size()).constData()); \endcode \note This macro can only be used in a test function that is invoked |