Skip to content
Permalink
Browse files

Avoid crash in testqgsexpression.cpp

  • Loading branch information
nyalldawson committed Nov 7, 2016
1 parent ec55161 commit f8bda8dbfcd83f750f15941569cfb85ec7f235be
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/src/core/testqgsexpression.cpp
@@ -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>() )

0 comments on commit f8bda8d

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