Skip to content

Commit

Permalink
Avoid crash in testqgsexpression.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 7, 2016
1 parent ec55161 commit f8bda8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/core/testqgsexpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,9 @@ class TestQgsExpression: public QObject
case QVariant::Time:
QCOMPARE( result.toTime(), expected.toTime() );
break;
case QVariant::List:
QCOMPARE( result.toList(), expected.toList() );
break;
case QVariant::UserType:
{
if ( result.userType() == qMetaTypeId<QgsInterval>() )
Expand Down

0 comments on commit f8bda8d

Please sign in to comment.