Skip to content

Commit

Permalink
corrects a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani committed Nov 16, 2021
1 parent 98ca1ca commit f3d90f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/gui/testqgsscalecombobox.cpp
Expand Up @@ -275,9 +275,9 @@ void TestQgsScaleComboBox::testLocale()

QLocale::setDefault( QLocale::German );
QCOMPARE( s->toString( 1e8 ), QString( "1:100.000.000" ) );
const QLocale customGerman( QLocale::German );
customFrench.setNumberOptions( QLocale::NumberOption::OmitGroupSeparator );
QLocale::setDefault( customFrench );
QLocale customGerman( QLocale::German );
customGerman.setNumberOptions( QLocale::NumberOption::OmitGroupSeparator );
QLocale::setDefault( customGerman );
QCOMPARE( s->toString( 1e8 ), QString( "1:100000000" ) );
}

Expand Down

0 comments on commit f3d90f2

Please sign in to comment.