Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
edkennard committed Mar 9, 2022
1 parent 5ae26b6 commit 57b671b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ public void testStyleParser() {

assertEquals(Font.font("Helvetica", 18.0), StyleParser.getFontPropertyValue(null));
assertEquals(Font.font("Helvetica", 18.0), StyleParser.getFontPropertyValue(""));
assertEquals(
Font.font("Arial", FontWeight.BOLD, FontPosture.ITALIC, 20),
StyleParser.getFontPropertyValue("font=Arial; fontWeight=bold; fontSize=20; fontPosture = italic;"));
assertEquals(Font.font("Arial", FontWeight.BOLD, FontPosture.ITALIC, 20), StyleParser.getFontPropertyValue("font=Arial; fontWeight=bold; fontSize=20; fontPosture = italic;"));
assertNotNull(StyleParser.getFontPropertyValue("font="));
assertNotNull(StyleParser.getFontPropertyValue("font=Helvetica"));
assertNotNull(StyleParser.getFontPropertyValue("font2=Helvetica"));
Expand Down

0 comments on commit 57b671b

Please sign in to comment.