aboutsummaryrefslogtreecommitdiff
path: root/plugins/mathjax/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mathjax/src')
-rw-r--r--plugins/mathjax/src/test/kotlin/MathjaxPluginTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mathjax/src/test/kotlin/MathjaxPluginTest.kt b/plugins/mathjax/src/test/kotlin/MathjaxPluginTest.kt
index a354365b..0f713708 100644
--- a/plugins/mathjax/src/test/kotlin/MathjaxPluginTest.kt
+++ b/plugins/mathjax/src/test/kotlin/MathjaxPluginTest.kt
@@ -34,7 +34,7 @@ class MathjaxPluginTest : BaseAbstractTest() {
) {
renderingStage = {
_, _ -> Jsoup
- .parse(writerPlugin.writer.contents["root/example/test.html"])
+ .parse(writerPlugin.writer.contents.getValue("root/example/test.html"))
.head()
.select("link, script")
.let {
@@ -72,7 +72,7 @@ class MathjaxPluginTest : BaseAbstractTest() {
pluginOverrides = listOf(writerPlugin, MathjaxPlugin())
) {
renderingStage = { _, _ ->
- val parsed = Jsoup.parse(writerPlugin.writer.contents["root/example/test.html"])
+ val parsed = Jsoup.parse(writerPlugin.writer.contents.getValue("root/example/test.html"))
// Ensure the MathJax CDN is loaded
assert(parsed.select("link, script").`is`("[href=$LIB_PATH], [src=$LIB_PATH]"))