[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.5 6.2 5.15 Change-Id: I79ccd84a5dbed20012fa1a2d3561945f8a7638d5 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 4af3cf275fc9f5e721fab6b05fc05cf7bdbe5c99) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit a06a78bb045aba46fec470cce5590a95eab0a30f)
This commit is contained in:
parent
42aa064c9d
commit
4994e92c09
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user