[locale] Repair tests
It is unclear how this could have worked previously: the only code path through currentLocationStatus() checks the pointer, also.
This commit is contained in:
parent
35aa975a74
commit
f4d62f0f41
@ -293,8 +293,8 @@ LocaleTests::testConfigInitialization()
|
||||
{
|
||||
Config c;
|
||||
|
||||
QVERIFY( !c.currentLocation() );
|
||||
QVERIFY( !c.currentLocationStatus().isEmpty() );
|
||||
QCOMPARE( c.currentLocation(), nullptr );
|
||||
QVERIFY( c.currentLocationStatus().isEmpty() );
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user