Navigation Menu

Skip to content

Commit

Permalink
set default locale in evaluation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani authored and nyalldawson committed Nov 4, 2021
1 parent 4f65754 commit a716464
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/core/testqgsexpression.cpp
Expand Up @@ -1966,6 +1966,8 @@ class TestQgsExpression: public QObject

void run_evaluation_test( QgsExpression &exp, bool evalError, QVariant &expected )
{
QLocale::setDefault( QLocale::c() );

if ( exp.hasParserError() )
qDebug() << exp.parserErrorString();
QCOMPARE( exp.hasParserError(), false );
Expand Down

0 comments on commit a716464

Please sign in to comment.