diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-10-15 10:39:40 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-15 13:49:14 +0200 |
commit | 3d0bec491e6d823df510ba12dba38be820116e86 (patch) | |
tree | db6eeb60cfa214e9aa3c8e3ae56e8f971c2e643f /tests/auto/qml/qmllint/tst_qmllint.cpp | |
parent | edc8512580fa16892dc13034e93300cc6a2bba59 (diff) |
qmllint: Parse .mjs files as JavaScript rather than QML
Change-Id: I80783289452300d4609a27f5b470ecdeeeca5e71
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp')
-rw-r--r-- | tests/auto/qml/qmllint/tst_qmllint.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp index 04f554ac48..e3c297fa0f 100644 --- a/tests/auto/qml/qmllint/tst_qmllint.cpp +++ b/tests/auto/qml/qmllint/tst_qmllint.cpp @@ -158,6 +158,7 @@ void TestQmllint::cleanQmlCode_data() QTest::newRow("catchIdentifier") << QStringLiteral("catchIdentifierNoWarning.qml"); QTest::newRow("qmldirAndQmltypes") << QStringLiteral("qmldirAndQmltypes.qml"); QTest::newRow("forLoop") << QStringLiteral("forLoop.qml"); + QTest::newRow("esmodule") << QStringLiteral("esmodule.mjs"); } void TestQmllint::cleanQmlCode() |