Skip to content

Commit

Permalink
Add note for failing Qt5 test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 13, 2016
1 parent a349e70 commit 1013458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/testqgsfield.cpp
Expand Up @@ -220,6 +220,7 @@ void TestQgsField::convertCompatible()
QVariant doubleVar( 9.7 );
QVERIFY( stringField.convertCompatible( doubleVar ) );
QCOMPARE( doubleVar.type(), QVariant::String );
// Should be fixed in Qt 5.7: https://bugreports.qt.io/browse/QTBUG-47192
QCOMPARE( doubleVar, QVariant( "9.7" ) );
QVariant nullDouble = QVariant( QVariant::Double );
QVERIFY( stringField.convertCompatible( nullDouble ) );
Expand Down

0 comments on commit 1013458

Please sign in to comment.