mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-10 00:13:55 -04:00
Fix test
This commit is contained in:
parent
ae907878c9
commit
069dc1b6d9
@ -609,8 +609,6 @@ void TestQgsField::convertCompatible()
|
||||
|
||||
// Test that wrongly formatted decimal separator are also accepted
|
||||
QLocale::setDefault( QLocale::German );
|
||||
QCOMPARE( QLocale().groupSeparator(), '.' );
|
||||
QCOMPARE( QLocale().decimalPoint(), ',' );
|
||||
stringDouble = QVariant( "12.23.456,012345" );
|
||||
QVERIFY( doubleField.convertCompatible( stringDouble ) );
|
||||
QCOMPARE( stringDouble.type(), QVariant::Double );
|
||||
|
Loading…
x
Reference in New Issue
Block a user