summaryrefslogtreecommitdiff
path: root/tests/typ/text/space.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-08 10:43:03 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-08 10:44:24 +0100
commit1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (patch)
tree682124c2343db9491c84bddbdca026c676f220c6 /tests/typ/text/space.typ
parent25b5bd117529cd04bb789e1988eb3a3db8025a0e (diff)
Require font to be a named argument
Diffstat (limited to 'tests/typ/text/space.typ')
-rw-r--r--tests/typ/text/space.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/text/space.typ b/tests/typ/text/space.typ
index b95da872..a3fd6c0a 100644
--- a/tests/typ/text/space.typ
+++ b/tests/typ/text/space.typ
@@ -23,11 +23,11 @@ A /**/B/**/ C
---
// Test that a run consisting only of whitespace isn't trimmed.
-A#text("IBM Plex Serif")[ ]B
+A#text(font: "IBM Plex Serif")[ ]B
---
// Test font change after space.
-Left #text("IBM Plex Serif")[Right].
+Left #text(font: "IBM Plex Serif")[Right].
---
// Test that linebreak consumed surrounding spaces.