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:
parent
97470a7838
commit
2192d6a62e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user