Skip to content

Commit 0235fad

Browse files
committedAug 3, 2012
add title() expression test row
1 parent 3715845 commit 0235fad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎tests/src/core/testqgsexpression.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ class TestQgsExpression: public QObject
263263
QTest::newRow( "rpad truncate" ) << "rpad('Hello', 4, 'x')" << false << QVariant( "Hell" );
264264
QTest::newRow( "lpad" ) << "lpad('Hello', 10, 'x')" << false << QVariant( "Helloxxxxx" );
265265
QTest::newRow( "lpad truncate" ) << "rpad('Hello', 4, 'x')" << false << QVariant( "Hell" );
266+
QTest::newRow( "title" ) << "title(' HeLlO WORLD ')" << false << QVariant( " Hello World " );
266267

267268
// implicit conversions
268269
QTest::newRow( "implicit int->text" ) << "length(123)" << false << QVariant( 3 );

0 commit comments

Comments
 (0)
Please sign in to comment.