Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update testqgsproperty.cpp
  • Loading branch information
nyalldawson committed Mar 21, 2019
1 parent d2f3aec commit 3acbc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsproperty.cpp
Expand Up @@ -1254,7 +1254,7 @@ void TestQgsProperty::colorRampTransformer()
QColor( 100, 150, 200 ) );
QCOMPARE( t5.toExpression( "5+6" ), QStringLiteral( "coalesce(ramp_color('custom ramp',scale_linear(5+6, 15, 25, 0, 1)), '#6496c8')" ) );
t5.setRampName( QStringLiteral( "my ramp" ) );
QCOMPARE( t5.toExpression( "5+6" ), QStringLiteral( "coalesce(ramp_color('my ramp',scale_linear(5+6, 15, 25, 0, 1), '#6496c8')" ) );
QCOMPARE( t5.toExpression( "5+6" ), QStringLiteral( "coalesce(ramp_color('my ramp',scale_linear(5+6, 15, 25, 0, 1)), '#6496c8')" ) );
}

void TestQgsProperty::propertyToTransformer()
Expand Down

0 comments on commit 3acbc83

Please sign in to comment.