summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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")