Skip to content

Commit

Permalink
test: updated footer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
berezinant committed Jan 21, 2025
1 parent deef63f commit 974340b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class CustomFooterTest : HtmlRenderingOnlyTestBase() {
HtmlRenderer(context).render(page)
renderedContent.match(
A(),
Span(Div("Custom message")),
Span(Span("Generated by "), A(Span("dokka")))
Div(Div(Span("Generated by "), A("Dokka"), Div(Div("Custom message"))))
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import org.jsoup.Jsoup
import org.jsoup.nodes.Element
import renderers.testPage
import utils.A
import utils.Div
import utils.Span
import utils.match
import kotlin.test.Test
Expand All @@ -21,8 +22,7 @@ class FooterMessageTest : HtmlRenderingOnlyTestBase() {
HtmlRenderer(context).render(page)
renderedContent.match(
A(),
Span(defaultFooterMessage),
Span(Span("Generated by "), A(Span("dokka")))
Div(Div(Span("Generated by "), A("Dokka"), Div(defaultFooterMessage)))
)
}

Expand Down

0 comments on commit 974340b

Please sign in to comment.