summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-21 00:16:07 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-21 00:26:20 +0100
commitee732468c7487c81aa6470571077988b75d36ebb (patch)
treee0361bb75b8bbc3359b711f4009e165459d66248 /tests/typ
parent15cd273c82a96128a63781981a4405fcd2b1e846 (diff)
Document text category
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/layout/spacing.typ2
-rw-r--r--tests/typ/text/quotes.typ4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/layout/spacing.typ b/tests/typ/layout/spacing.typ
index 3cb1a20c..fbc5b0d8 100644
--- a/tests/typ/layout/spacing.typ
+++ b/tests/typ/layout/spacing.typ
@@ -32,5 +32,5 @@ A #h(1fr) B
---
// Missing spacing.
-// Error: 11-13 missing argument: spacing
+// Error: 11-13 missing argument: amount
Totally #h() ignored
diff --git a/tests/typ/text/quotes.typ b/tests/typ/text/quotes.typ
index f229fd23..0c64867a 100644
--- a/tests/typ/text/quotes.typ
+++ b/tests/typ/text/quotes.typ
@@ -43,11 +43,11 @@ The 5\'11\" 'quick\' brown fox jumps over the \"lazy" dog\'s ear.
// Test turning smart quotes off.
He's told some books contain questionable "example text".
-#set text(smart-quotes: false)
+#set smartquote(enabled: false)
He's told some books contain questionable "example text".
---
// Test changing properties within text.
"She suddenly started speaking french: #text(lang: "fr")['Je suis une banane.']" Roman told me.
-Some people's thought on this would be #text(smart-quotes: false)["strange."]
+Some people's thought on this would be [#set smartquote(enabled: false); "strange."]