Skip to content

Commit 7b876d8

Browse files
committed
Fix test
1 parent 3cee54c commit 7b876d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/core/testqgsexpression.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ class TestQgsExpression: public QObject
12661266
QTest::newRow( "layer_property storage_type" ) << QStringLiteral( "layer_property('%1','storage_type')" ).arg( mPointsLayer->name() ) << false << QVariant( "ESRI Shapefile" );
12671267
QTest::newRow( "layer_property geometry_type" ) << QStringLiteral( "layer_property('%1','geometry_type')" ).arg( mPointsLayer->name() ) << false << QVariant( "Point" );
12681268

1269-
QTest::newRow( "decode_uri shp path" ) << QStringLiteral( "array_last(string_to_array(replace(decode_uri('@layer'%1', 'path'), '\\\\', '/'), '/'))" ).arg( mPointsLayer->name() ) << false << QVariant( "points.shp" );
1269+
QTest::newRow( "decode_uri shp path" ) << QStringLiteral( "array_last(string_to_array(replace(decode_uri('%1', 'path'), '\\\\', '/'), '/'))" ).arg( mPointsLayer->name() ) << false << QVariant( "points.shp" );
12701270

12711271
// raster_statistic tests
12721272
QTest::newRow( "raster_statistic no layer" ) << "raster_statistic('',1,'min')" << false << QVariant();

0 commit comments

Comments
 (0)