Skip to content

Commit

Permalink
Restore broken unit test
Browse files Browse the repository at this point in the history
`com.helger:ph-css` supports `:where` pseudo function starting from version `7.0.3`, but originally unit test expected it's not supported, thus unit test data requires updates.
  • Loading branch information
valfirst committed Oct 22, 2024
1 parent db4c313 commit fa5ea4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.Set;

import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import com.helger.css.parser.ParseException;
Expand All @@ -35,7 +34,6 @@
import edu.uci.ics.crawler4j.test.TestUtils;
import edu.uci.ics.crawler4j.url.WebURL;

@Disabled(value = "Flaky test. Currently broken with latest Jacoco version!")
public class CssParseDataTest {

@Test
Expand Down
2 changes: 1 addition & 1 deletion crawler4j-core/src/test/resources/css/non-parsable.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:where(.some-tile:not(.preserve-color))>*{color:#161616}
:invalid(.some-tile:not(.preserve-color))>*{color:#161616}

0 comments on commit fa5ea4e

Please sign in to comment.