summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
authorYip Coekjan <69834864+Coekjan@users.noreply.github.com>2024-05-25 23:31:04 +0800
committerGitHub <noreply@github.com>2024-05-25 15:31:04 +0000
commit485aa2e1ff0fdf80266fef0d5a4fa020e0e75768 (patch)
treec6e51fb244845bdf2792b6c5f3ee062eab837e29 /tests/suite
parent794a215514f0bc80ca4f9c86227221c47fdb8a4b (diff)
Hint for language-region pair on `text.lang` (#4183)
Diffstat (limited to 'tests/suite')
-rw-r--r--tests/suite/text/lang.typ7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/suite/text/lang.typ b/tests/suite/text/lang.typ
index 9bce5c3c..b4f87310 100644
--- a/tests/suite/text/lang.typ
+++ b/tests/suite/text/lang.typ
@@ -77,4 +77,9 @@
#set text(lang: "qaa")
#outline()
#set text(lang: "qaa", region: "aa")
-#outline() \ No newline at end of file
+#outline()
+
+--- text-lang-hint-region-parameter ---
+// Error: 17-24 expected two or three letter language code (ISO 639-1/2/3)
+// Hint: 17-24 you should leave only "en" in the `lang` parameter and specify "gb" in the `region` parameter
+#set text(lang: "en-gb")