summaryrefslogtreecommitdiffstats
path: root/examples/qtestlib/tutorial4/testgui.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-07-27 19:02:59 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-09-07 15:29:38 +0200
commitf94f1653368bf8c499fa9a6eeba81736bb2a7710 (patch)
tree0d9fb4b2729adf0c69326ebf6084fb61f658d545 /examples/qtestlib/tutorial4/testgui.cpp
parent8b514c9c588f5570526c9ce0376bffbf431843f8 (diff)
Document shell-friendly data tags as best practice
Also follow this best practice in testlib's own documentation and examples. Pick-to: 6.4 Change-Id: I8b57dfa8f88835adae8fceeb122a16635708e338 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/qtestlib/tutorial4/testgui.cpp')
-rw-r--r--examples/qtestlib/tutorial4/testgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qtestlib/tutorial4/testgui.cpp b/examples/qtestlib/tutorial4/testgui.cpp
index 58f895cef53..527532edeec 100644
--- a/examples/qtestlib/tutorial4/testgui.cpp
+++ b/examples/qtestlib/tutorial4/testgui.cpp
@@ -28,7 +28,7 @@ void TestGui::testGui_data()
QTestEventList list2;
list2.addKeyClick('a');
list2.addKeyClick(Qt::Key_Backspace);
- QTest::newRow("there and back again") << list2 << "";
+ QTest::newRow("there+back-again") << list2 << "";
}
//! [1]