Skip to content
Permalink
Browse files

Update testqgsproperty.cpp

  • Loading branch information
nyalldawson committed Mar 21, 2019
1 parent f9e90c3 commit c66cb9e9fcdc64afd38b0a4702957d3867cca3f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsproperty.cpp
@@ -1253,7 +1253,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()

0 comments on commit c66cb9e

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