Skip to content
Permalink
Browse files

Merge b9aab15 into cherry-pick-backport-9562-on-release-3_6-0ec06549-…

…fbec-4b0a-bcf2-3f9a722b76fc
  • Loading branch information
backporting committed Mar 21, 2019
2 parents e1799fc + b9aab15 commit 4ff69fe5df80cfbf6e94c692e85a39e5b024c012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsproperty.cpp
@@ -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()

0 comments on commit 4ff69fe

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