[libcalamares] If test is going to fail, be more verbose on failure
This commit is contained in:
parent
9ad5ba36b0
commit
70fc480c56
@ -52,8 +52,15 @@ assert_is_invalid( const InstanceKey& k )
|
||||
QVERIFY( !k.isCustom() );
|
||||
QVERIFY( k.module().isEmpty() );
|
||||
QVERIFY( k.id().isEmpty() );
|
||||
if ( k.toString().isEmpty() )
|
||||
{
|
||||
QVERIFY( k.toString().isEmpty() );
|
||||
}
|
||||
else
|
||||
{
|
||||
QCOMPARE( k.toString(), QString() );
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ModuleSystemTests::testEmptyInstanceKey()
|
||||
|
Loading…
Reference in New Issue
Block a user