Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 2, 2018
1 parent ae90787 commit 069dc1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/src/core/testqgsfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 069dc1b

Please sign in to comment.