From d1e5c46bb26b1bd166d581ed52bc390fb365f8a2 Mon Sep 17 00:00:00 2001 From: Giorgio Garofalo Date: Fri, 20 Sep 2024 15:14:15 +0200 Subject: [PATCH] Test library's localization table injection --- .../eu/iamgio/quarkdown/test/FullPipelineTest.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/src/test/kotlin/eu/iamgio/quarkdown/test/FullPipelineTest.kt b/test/src/test/kotlin/eu/iamgio/quarkdown/test/FullPipelineTest.kt index da96192c..928edbbb 100644 --- a/test/src/test/kotlin/eu/iamgio/quarkdown/test/FullPipelineTest.kt +++ b/test/src/test/kotlin/eu/iamgio/quarkdown/test/FullPipelineTest.kt @@ -1087,6 +1087,16 @@ class FullPipelineTest { """.trimIndent(), ) {} } + + // Library's injected localization table. + execute( + """ + .doclang {english} + .localize {std:warning} + """.trimIndent(), + ) { + assertEquals("

Warning

", it) + } } @Test