Skip to content

Commit

Permalink
Change unary minus test --1 to -(-1)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 30, 2014
1 parent 77e62b9 commit 7d8a3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsexpression.cpp
Expand Up @@ -89,7 +89,7 @@ class TestQgsExpression: public QObject
QTest::newRow( "string literal" ) << "'test'" << true;
QTest::newRow( "column reference" ) << "my_col" << true;
QTest::newRow( "quoted column" ) << "\"my col\"" << true;
QTest::newRow( "unary minus" ) << "--3" << true;
QTest::newRow( "unary minus" ) << "-(-3)" << true;
QTest::newRow( "function" ) << "cos(0)" << true;
QTest::newRow( "function2" ) << "atan2(0,1)" << true;
QTest::newRow( "operator IN" ) << "x in (a,b)" << true;
Expand Down

0 comments on commit 7d8a3b1

Please sign in to comment.