Fix typo in CSS color unit test
This commit is contained in:
parent
658d5e69a4
commit
5cc57566cc
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ TEST_CASE("CSS color")
|
|||
}
|
||||
// hsla (fractional percent)
|
||||
{
|
||||
std::string s("hsl(240,50.5%,49.5%,0.5)"); // Color(R=62,G=62,B=190,A=128)
|
||||
std::string s("hsla(240,50.5%,49.5%,0.5)"); // Color(R=62,G=62,B=190,A=128)
|
||||
mapnik::color c;
|
||||
CHECK(boost::spirit::x3::phrase_parse(s.cbegin(), s.cend(), color_grammar, space, c));
|
||||
CHECK(c.alpha() == 128);
|
||||
|
|
Loading…
Reference in a new issue