Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 7, 2025
1 parent 2824a4e commit 0fff073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgsexpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2289,8 +2289,8 @@ class TestQgsExpression : public QObject
QTest::newRow( "between nulls FALSE 2" ) << QStringLiteral( "'a' between 'b' AND NULL" ) << false << QVariant( false );

// CRS functions
QTest::newRow( "crs epsg id" ) << "crs('EPSG:4326')" << false << QVariant( QgsCoordinateReferenceSystem( "EPSG:4326" ) );
QTest::newRow( "crs_authid" ) << "crs_authid(crs('EPSG:3857'))" << false << QVariant( "EPSG:3857" );
QTest::newRow( "make_crs epsg id" ) << "make_crs('EPSG:4326')" << false << QVariant( QgsCoordinateReferenceSystem( "EPSG:4326" ) );
QTest::newRow( "crs_authid" ) << "crs_authid(make_crs('EPSG:3857'))" << false << QVariant( "EPSG:3857" );
}

void run_evaluation_test( QgsExpression &exp, bool evalError, QVariant &expected )
Expand Down

0 comments on commit 0fff073

Please sign in to comment.