Skip to content
Permalink
Browse files

Merge 3acbc83 into cherry-pick-backport-9601-on-release-3_4-c897e84a-…

…68f7-49e3-b7bd-838c6eabce96
  • Loading branch information
backporting committed Mar 22, 2019
2 parents 96ca6e3 + 3acbc83 commit 547a6c786f4212af85e4e6765d5433ec23ab0c5f
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 547a6c7

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