[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;
|
Config c;
|
||||||
|
|
||||||
QVERIFY( !c.currentLocation() );
|
QCOMPARE( c.currentLocation(), nullptr );
|
||||||
QVERIFY( !c.currentLocationStatus().isEmpty() );
|
QVERIFY( c.currentLocationStatus().isEmpty() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user