From 9fb0684d41b2538df47eae0ef43b880e0b6b9281 Mon Sep 17 00:00:00 2001 From: Oliver Imlinger Date: Thu, 28 Sep 2023 08:58:52 +0200 Subject: [PATCH 1/2] https://github.com/aim42/htmlSanityCheck/issues/306 --- .../htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy b/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy index f73be638..0930620e 100644 --- a/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy +++ b/src/test/groovy/org/aim42/htmlsanitycheck/check/BrokenHttpLinksCheckerSpec.groovy @@ -104,8 +104,7 @@ class BrokenHttpLinksCheckerSpec extends Specification { where: goodUrl << [ "https://junit.org/junit4/javadoc/latest/org/junit/Before.html", "http://plumelib.org/plume-util/api/org/plumelib/util/DeterministicObject.html", - "http://people.csail.mit.edu/cpacheco/publications/randoop-case-study-abstract.html", - "https://douglascayers.com/2015/05/30/how-to-set-custom-java-path-after-installing-jdk-8/" + "http://people.csail.mit.edu/cpacheco/publications/randoop-case-study-abstract.html" ] } From 614b4c9b9bcd90589d5698bbb65aad5a026be131 Mon Sep 17 00:00:00 2001 From: Oliver Imlinger Date: Thu, 28 Sep 2023 09:11:09 +0200 Subject: [PATCH 2/2] https://github.com/aim42/htmlSanityCheck/issues/287 --- build.gradle | 2 +- .../groovy/org/aim42/htmlsanitycheck/AllChecksRunnerTest.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index e19f9634..8af8abd4 100755 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,7 @@ dependencies { // jsoup is our awesome html parser, see jsoup.org - implementation group: 'org.jsoup', name: 'jsoup', version: '1.11.3' + implementation group: 'org.jsoup', name: 'jsoup', version: '1.16.1' } // dependencies diff --git a/src/test/groovy/org/aim42/htmlsanitycheck/AllChecksRunnerTest.groovy b/src/test/groovy/org/aim42/htmlsanitycheck/AllChecksRunnerTest.groovy index 1e8da9dc..e4a0c169 100644 --- a/src/test/groovy/org/aim42/htmlsanitycheck/AllChecksRunnerTest.groovy +++ b/src/test/groovy/org/aim42/htmlsanitycheck/AllChecksRunnerTest.groovy @@ -16,7 +16,7 @@ class AllChecksRunnerTest extends GroovyTestCase { @Test public void testSingleCorrectHTMLFile() { - String HTML = """$HTML_HEADhsc""" + String HTML = """$HTML_HEADhsc""" // create file with proper html content tmpFile = File.createTempFile("testfile", ".html") <