Skip to content
Permalink
Browse files

Fix test

  • Loading branch information
elpaso committed Sep 2, 2018
1 parent ae90787 commit 069dc1b6d91a9fbc50c7fefeace8ac5d4945e61e
Showing with 0 additions and 2 deletions.
  1. +0 −2 tests/src/core/testqgsfield.cpp
@@ -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 );

0 comments on commit 069dc1b

Please sign in to comment.
You can’t perform that action at this time.