diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-04-19 13:11:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 13:11:38 +0300 |
commit | 3d573827230e7a750c002cf416cf9231161dd9b3 (patch) | |
tree | 9da32e97873536db521974a004929cbb0c8a29df /plugins/mathjax | |
parent | 2a0ed52ff33c2ea38cf2bbd439a8b5af9f692d04 (diff) | |
download | dokka-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/mathjax')
-rw-r--r-- | plugins/mathjax/src/test/kotlin/MathjaxPluginTest.kt | 4 |
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]")) |