Skip to content
Permalink
Browse files

Change unary minus test --1 to -(-1)

  • Loading branch information
m-kuhn committed Nov 30, 2014
1 parent 77e62b9 commit 7d8a3b1a2935da65dbed2726a637a08313710d41
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsexpression.cpp
@@ -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;

0 comments on commit 7d8a3b1

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