diff options
author | j-james | 2022-10-17 13:54:35 +0000 |
---|---|---|
committer | j-james | 2022-10-17 13:54:35 +0000 |
commit | bfa72127cf120f0e98410b45a043b95ad522b729 (patch) | |
tree | 877f2a3e38d2a65213794fa0877c84e434c9611b /src/test/model/CssParserTest.java | |
parent | 453372247c8c173c16fa2234b9645bf7a542ed8d (diff) |
Sweeping refactor to check CheckStyle boxes
Diffstat (limited to 'src/test/model/CssParserTest.java')
-rw-r--r-- | src/test/model/CssParserTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/model/CssParserTest.java b/src/test/model/CssParserTest.java index 2852da5..fa395f6 100644 --- a/src/test/model/CssParserTest.java +++ b/src/test/model/CssParserTest.java @@ -10,6 +10,7 @@ public class CssParserTest { @Test void testIdiomaticCss() { var idiomaticCss = "body { background-color: #f0f0f2; margin: 0; padding: 0; font-family: -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;}div { width: 600px; margin: 5em auto; padding: 2em; background-color: #fdfdff; border-radius: 0.5em; box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);}a:link, a:visited { color: #38488f; text-decoration: none;}@media (max - width : 700px) { div { margin: 0 auto; width: auto; }}"; - System.out.println(CssParser.parseLL(idiomaticCss)); + CssParser parser = new CssParser(); + System.out.println(parser.parseCSS(idiomaticCss)); } } |