diff options
Diffstat (limited to 'plugins/base/src/test/kotlin/transformerBuilders')
-rw-r--r-- | plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt b/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt index 67e4d16f..0ed5af9f 100644 --- a/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt +++ b/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt @@ -197,7 +197,7 @@ class PageTransformerBuilderTest : BaseAbstractTest() { assertContains(generatedFiles.keys, "scripts/symbol-parameters-wrapper_deferred.js") val scripts = generatedFiles.getValue("root/test/-test/-test.html").let { Jsoup.parse(it) }.select("script") - val deferredScriptSources = scripts.filter { it.hasAttr("defer") }.map { it.attr("src") } + val deferredScriptSources = scripts.filter { element -> element.hasAttr("defer") }.map { it.attr("src") } // important to check symbol-parameters-wrapper_deferred specifically since it might break some features assertContains(deferredScriptSources, "../../../scripts/symbol-parameters-wrapper_deferred.js") |