diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-12-27 20:45:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-12-27 20:45:20 +0100 |
| commit | ba3d43f7b2a18984be27f3d472884a19f3adce4c (patch) | |
| tree | 1c6ffa31145fb69c19319440969d2037b27b584f /tests/typ/func-font-error.typ | |
| parent | 750d220bb080be077cd7ede6d18d485b1c3fb0c9 (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-font-error.typ')
| -rw-r--r-- | tests/typ/func-font-error.typ | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/typ/func-font-error.typ b/tests/typ/func-font-error.typ index 8de754ae..492ef9df 100644 --- a/tests/typ/func-font-error.typ +++ b/tests/typ/func-font-error.typ @@ -1,17 +1,17 @@ // Test error cases of the `font` function. // Not one of the valid things for positional arguments. -[font: false] +[font false] // Wrong types. -[font: style=bold, weight="thin", emoji=0] +[font style: bold, weight: "thin", serif: 0] // Non-existing argument. -[font: something="invalid"] +[font something: "invalid"] // compare-ref: false -// error: 4:8-4:13 unexpected argument +// error: 4:7-4:12 unexpected argument // error: 7:14-7:18 invalid font style -// error: 7:27-7:33 expected font weight, found string -// error: 7:41-7:42 expected family or list of families, found integer -// error: 10:8-10:27 unexpected argument +// error: 7:28-7:34 expected font weight, found string +// error: 7:43-7:44 expected family or list of families, found integer +// error: 10:7-10:27 unexpected argument |
