aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/resourceLinks/ResourceLinksTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/resourceLinks/ResourceLinksTest.kt')
-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 {