Skip to content
Permalink
Browse files

Fix C4566 warning on Windows build

  • Loading branch information
nyalldawson committed Aug 29, 2017
1 parent 99ef3ff commit 2af10cb2ca1df8231f2143360f4dcc4b2f02de98
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsexpression.cpp
@@ -921,7 +921,7 @@ class TestQgsExpression: public QObject
QTest::newRow( "wordwrap with negative length" ) << "wordwrap('university of qgis',-3)" << false << QVariant( "university\nof qgis" );
QTest::newRow( "wordwrap with negative length, custom delimiter" ) << "wordwrap('university of qgis',-3,' ')" << false << QVariant( "university\nof qgis" );
QTest::newRow( "wordwrap on multi line" ) << "wordwrap('university of qgis\nsupports many multiline',-5,' ')" << false << QVariant( "university\nof qgis\nsupports\nmany multiline" );
QTest::newRow( "wordwrap on zero-space width" ) << "wordwrap('test\u200Bzero-width space',4)" << false << QVariant( "test\nzero-width\nspace" );
QTest::newRow( "wordwrap on zero-space width" ) << QStringLiteral( "wordwrap('test%1zero-width space',4)" ).arg( QChar(8203) ) << false << QVariant( "test\nzero-width\nspace" );
QTest::newRow( "format" ) << "format('%1 %2 %3 %1', 'One', 'Two', 'Three')" << false << QVariant( "One Two Three One" );
QTest::newRow( "concat" ) << "concat('a', 'b', 'c', 'd')" << false << QVariant( "abcd" );
QTest::newRow( "concat function single" ) << "concat('a')" << false << QVariant( "a" );

0 comments on commit 2af10cb

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