tst_QPlugin::scanInvalidPlugin(): de-duplicate a data-tag

Change-Id: Ibc25041b5e003cf21d781012f279e9bdd75a2ee9
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Edward Welbourne 2022-10-05 12:19:06 +02:00
parent 97470a7838
commit 2192d6a62e

View File

@ -152,8 +152,8 @@ void tst_QPlugin::scanInvalidPlugin_data()
<< " Unexpected metadata contents";
++cprefix[MagicLen + 0];
QTest::newRow("cbor-major-too-new") << (cprefix + cborValid) << false
<< " Invalid metadata version";
QTest::newRow("cbor-major-too-new-invalid")
<< (cprefix + cborValid) << false << " Invalid metadata version";
}
static const char invalidPluginSignature[] = "qplugin testfile";