Commit 36d091a8 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix unit test: UnknownFlavor should actually be listed



Change-Id: I858eb6efe05dbc9a770bb7e858bd033e81df0f60
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 5abf7ab9
......@@ -876,7 +876,7 @@ void ProjectExplorer::ProjectExplorerPlugin::testFlavorForOs()
foundCounter = 0;
// make sure i is in exactly on of the flavor lists!
foreach (const QList<Abi::OSFlavor> &l, flavorLists) {
QVERIFY(!l.contains(Abi::UnknownFlavor));
QVERIFY(l.contains(Abi::UnknownFlavor));
if (l.contains(static_cast<Abi::OSFlavor>(i)))
++foundCounter;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment