diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/code/call.typ | 4 | ||||
| -rw-r--r-- | tests/typ/code/dict.typ | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ index 51ef1df5..55471774 100644 --- a/tests/typ/code/call.typ +++ b/tests/typ/code/call.typ @@ -45,6 +45,10 @@ } --- +// Error: 28-47 duplicate argument +#set text(family: "Arial", family: "Helvetica") + +--- // Error: 2-6 expected callable or collection, found boolean {true()} diff --git a/tests/typ/code/dict.typ b/tests/typ/code/dict.typ index b369b8b6..aa840eb3 100644 --- a/tests/typ/code/dict.typ +++ b/tests/typ/code/dict.typ @@ -36,6 +36,10 @@ } --- +// Error: 24-32 pair has duplicate key +{(first: 1, second: 2, first: 3)} + +--- // Simple expression after already being identified as a dictionary. // Error: 9-10 expected named pair, found expression {(a: 1, b)} |
