Skip to content

Commit e177a90

Browse files
committed
junit 6 requires java 17
1 parent 8c0972c commit e177a90

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/test/java/org/htmlunit/ExternalTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,12 @@ private static boolean isIgnored(@SuppressWarnings("unused") final String groupI
365365
return true;
366366
}
367367

368+
// 6.x requires java17
369+
if ("org.junit.jupiter".equals(groupId)
370+
&& version.startsWith("6.")) {
371+
return true;
372+
}
373+
368374
// really old common versions
369375
if ("commons-io".equals(artifactId) && (version.startsWith("2003"))) {
370376
return true;

0 commit comments

Comments
 (0)