aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/resourceLinks
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-04-19 13:11:38 +0300
committerGitHub <noreply@github.com>2022-04-19 13:11:38 +0300
commit3d573827230e7a750c002cf416cf9231161dd9b3 (patch)
tree9da32e97873536db521974a004929cbb0c8a29df /plugins/base/src/test/kotlin/resourceLinks
parent2a0ed52ff33c2ea38cf2bbd439a8b5af9f692d04 (diff)
downloaddokka-3d573827230e7a750c002cf416cf9231161dd9b3.tar.gz
dokka-3d573827230e7a750c002cf416cf9231161dd9b3.tar.bz2
dokka-3d573827230e7a750c002cf416cf9231161dd9b3.zip
Update Jsoup to 1.14.3 (#2448)
* Update Jsoup to 1.14.3 * Fix Jsoup API breaking changes after the update * Fix new Qodana inspections * Replace IllegalStateException with more appropriate NoSuchElementException
Diffstat (limited to 'plugins/base/src/test/kotlin/resourceLinks')
-rw-r--r--plugins/base/src/test/kotlin/resourceLinks/ResourceLinksTest.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/base/src/test/kotlin/resourceLinks/ResourceLinksTest.kt b/plugins/base/src/test/kotlin/resourceLinks/ResourceLinksTest.kt
index fb9ec10e..8a8586ee 100644
--- a/plugins/base/src/test/kotlin/resourceLinks/ResourceLinksTest.kt
+++ b/plugins/base/src/test/kotlin/resourceLinks/ResourceLinksTest.kt
@@ -65,7 +65,7 @@ class ResourceLinksTest : BaseAbstractTest() {
) {
renderingStage = { root, context ->
Jsoup
- .parse(writerPlugin.writer.contents["root/example.html"])
+ .parse(writerPlugin.writer.contents.getValue("root/example.html"))
.head()
.select("link, script")
.let {
@@ -125,7 +125,7 @@ class ResourceLinksTest : BaseAbstractTest() {
}
if (isMultiModule) {
Jsoup
- .parse(writerPlugin.writer.contents["example.html"])
+ .parse(writerPlugin.writer.contents.getValue("example.html"))
.head()
.select("link, script")
.let {
@@ -135,7 +135,7 @@ class ResourceLinksTest : BaseAbstractTest() {
}
} else {
Jsoup
- .parse(writerPlugin.writer.contents["root/example.html"])
+ .parse(writerPlugin.writer.contents.getValue("root/example.html"))
.head()
.select("link, script")
.let {
@@ -184,7 +184,7 @@ class ResourceLinksTest : BaseAbstractTest() {
assertNull(writerPlugin.writer.contents["scripts/relativePath.js"])
assertNull(writerPlugin.writer.contents["styles/relativePath.js"])
Jsoup
- .parse(writerPlugin.writer.contents["root/example.html"])
+ .parse(writerPlugin.writer.contents.getValue("root/example.html"))
.head()
.select("link, script")
.let {