aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2022-02-25 10:36:56 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2022-03-02 14:21:08 +0100
commit7e7582fc70fecc1b2306ef5f4c10b3fa54b171e9 (patch)
tree6fabd9b21ca8062f6c4ba2c51246799b22225043 /tests
parent78635463cd00600b11cffb0d58a46f8dcfd81cb8 (diff)
qmllint: Remove extra space from unqualified access fix suggestion
This looks bad and doesn't follow our coding guidelines or what our formatter would produce. Change-Id: Iceccb4cd1d9cccd84d49ded426f7ce184839b095 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index 5c9a57c680..9ca5db7db3 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -184,14 +184,14 @@ void TestQmllint::testUnqualified_data()
// access injected name from signal
QTest::newRow("SignalHandler1")
<< QStringLiteral("SignalHandler.qml")
- << QStringLiteral("onDoubleClicked: function(mouse) {") << 5 << 21;
+ << QStringLiteral("onDoubleClicked: function(mouse) {") << 5 << 21;
QTest::newRow("SignalHandler2")
<< QStringLiteral("SignalHandler.qml")
- << QStringLiteral("onPositionChanged: function(mouse) {") << 10 << 21;
+ << QStringLiteral("onPositionChanged: function(mouse) {") << 10 << 21;
QTest::newRow("SignalHandlerShort1") << QStringLiteral("SignalHandler.qml")
- << QStringLiteral("onClicked: (mouse) => ") << 8 << 29;
+ << QStringLiteral("onClicked: (mouse) => ") << 8 << 29;
QTest::newRow("SignalHandlerShort2")
- << QStringLiteral("SignalHandler.qml") << QStringLiteral("onPressAndHold: (mouse) => ")
+ << QStringLiteral("SignalHandler.qml") << QStringLiteral("onPressAndHold: (mouse) => ")
<< 12 << 34;
// access catch identifier outside catch block
QTest::newRow("CatchStatement") << QStringLiteral("CatchStatement.qml") << QStringLiteral("err") << 6 << 21;