Skip to content

Commit

Permalink
Test library's localization table injection
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Sep 20, 2024
1 parent 64b13e1 commit d1e5c46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/src/test/kotlin/eu/iamgio/quarkdown/test/FullPipelineTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,16 @@ class FullPipelineTest {
""".trimIndent(),
) {}
}

// Library's injected localization table.
execute(
"""
.doclang {english}
.localize {std:warning}
""".trimIndent(),
) {
assertEquals("<p>Warning</p>", it)
}
}

@Test
Expand Down

0 comments on commit d1e5c46

Please sign in to comment.