summaryrefslogtreecommitdiff
path: root/tests/typ/func-page-error.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-12-27 20:45:20 +0100
committerLaurenz <laurmaedje@gmail.com>2020-12-27 20:45:20 +0100
commitba3d43f7b2a18984be27f3d472884a19f3adce4c (patch)
tree1c6ffa31145fb69c19319440969d2037b27b584f /tests/typ/func-page-error.typ
parent750d220bb080be077cd7ede6d18d485b1c3fb0c9 (diff)
Refresh function call and dictionary syntax
- No colon between function name and arguments, just whitespace - "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
Diffstat (limited to 'tests/typ/func-page-error.typ')
-rw-r--r--tests/typ/func-page-error.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/func-page-error.typ b/tests/typ/func-page-error.typ
index e259a04e..1b2db60d 100644
--- a/tests/typ/func-page-error.typ
+++ b/tests/typ/func-page-error.typ
@@ -1,11 +1,11 @@
// Test error cases of the `page` function.
// Invalid paper.
-[page: nonexistant]
+[page nonexistant]
// Aligned axes.
-[page: main-dir=ltr]
+[page main-dir: ltr]
// compare-ref: false
-// error: 4:8-4:19 invalid paper
+// error: 4:7-4:18 invalid paper
// error: 7:17-7:20 aligned axis