Skip to content

Commit

Permalink
fixed test with new style spacing and leading dot
Browse files Browse the repository at this point in the history
  • Loading branch information
turingtestfail committed Mar 12, 2024
1 parent a748657 commit 4473fa4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public void testStyleClasses() throws Exception {
true);
assertEquals(
"Style classes string",
"rule-2_symbolizer-1 { stroke-opacity:1.0;stroke-dashoffset:0;stroke-width:4.0;fill:#033080;fill-opacity:0.74;stroke:#FF66FF;stroke-linecap:butt; } "
+ "rule-1_symbolizer-1 { stroke-opacity:1.0;stroke-dashoffset:0;stroke-width:2.0;fill:#000080;fill-opacity:0.5;stroke:#FFFFFF;stroke-linecap:butt; } ",
".rule-2_symbolizer-1{stroke-opacity: 1.0;stroke-dashoffset: 0;stroke-width: 4.0;fill: #033080;fill-opacity: 0.74;stroke: #FF66FF;stroke-linecap: butt;} "
+ ".rule-1_symbolizer-1{stroke-opacity: 1.0;stroke-dashoffset: 0;stroke-width: 2.0;fill: #000080;fill-opacity: 0.5;stroke: #FFFFFF;stroke-linecap: butt;} ",
mapmlFeatures.getHead().getStyle());
assertEquals(
"XML feature count is double the underlying features source because the style has two symbolizers that match all features",
Expand Down

0 comments on commit 4473fa4

Please sign in to comment.