Skip to content
Permalink
Browse files
set default locale in evaluation tests
  • Loading branch information
Koyaani authored and nyalldawson committed Nov 4, 2021
1 parent 4f65754 commit a7164644ea071e47c144f980aa656c960fc0289b
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/core/testqgsexpression.cpp
@@ -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 );

0 comments on commit a716464

Please sign in to comment.