Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://github.com/aim42/htmlSanityCheck/issues/306 #307

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AllChecksRunnerTest extends GroovyTestCase {

@Test
public void testSingleCorrectHTMLFile() {
String HTML = """$HTML_HEAD<body><title>hsc</title></body></html>"""
String HTML = """$HTML_HEAD<title>hsc</title><body></body></html>"""

// create file with proper html content
tmpFile = File.createTempFile("testfile", ".html") <<HTML
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

Expand Down