Skip to content
Permalink
Browse files
corrects a test
  • Loading branch information
Koyaani committed Nov 16, 2021
1 parent 98ca1ca commit f3d90f22444b443986a7a929d201056337ce8c6d
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/gui/testqgsscalecombobox.cpp
@@ -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" ) );
}

0 comments on commit f3d90f2

Please sign in to comment.