diff --git a/src/core/qgstestutils.h b/src/core/qgstestutils.h index 13c4687ca41..88b67f16a9a 100644 --- a/src/core/qgstestutils.h +++ b/src/core/qgstestutils.h @@ -24,13 +24,13 @@ */ #define QGSCOMPARENEAR(a,b,epsilon) { \ - bool _xxxresult = qgsDoubleNear( a, b, epsilon ); \ - if ( !_xxxresult ) \ - { \ - qDebug( "Expecting %f got %f (diff %f > %f)", static_cast< double >( a ), static_cast< double >( b ), qAbs( static_cast< double >( a ) - b ), static_cast< double >( epsilon ) ); \ - } \ - QVERIFY( qgsDoubleNear( a, b, epsilon ) ); \ -} + bool _xxxresult = qgsDoubleNear( a, b, epsilon ); \ + if ( !_xxxresult ) \ + { \ + qDebug( "Expecting %f got %f (diff %f > %f)", static_cast< double >( a ), static_cast< double >( b ), qAbs( static_cast< double >( a ) - b ), static_cast< double >( epsilon ) ); \ + } \ + QVERIFY( qgsDoubleNear( a, b, epsilon ) ); \ + } #endif // QGSTESTUTILS_H