diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-02-17 21:30:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-02-17 21:30:20 +0100 |
| commit | 2f4dc99cec1c6fa33257dea91ab3bcd99b1cbdf5 (patch) | |
| tree | eb983e54bac5ae226474bd8c5d6a29006b00ff12 /tests/lang/typ/call-args.typ | |
| parent | db1659a987cd240b78e45666617248d3d0cc7d64 (diff) | |
Refresh tests 🌊
Diffstat (limited to 'tests/lang/typ/call-args.typ')
| -rw-r--r-- | tests/lang/typ/call-args.typ | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/lang/typ/call-args.typ b/tests/lang/typ/call-args.typ index cf79c1f0..53ae0b97 100644 --- a/tests/lang/typ/call-args.typ +++ b/tests/lang/typ/call-args.typ @@ -2,33 +2,33 @@ --- // One argument. -#[f bold] +#f(bold) // One argument and trailing comma. -#[f 1,] +#f(1,) // One named argument. -#[f a:2] +#f(a:2) // Mixed arguments. {f(1, a: (3, 4), 2, b: "5")} --- -// Error: 5-6 expected expression, found colon -#[f :] +// Error: 4-5 expected expression, found colon +#f(:) -// Error: 8-10 expected expression, found end of block comment -#[f a:1*/] +// Error: 7-9 expected expression, found end of block comment +#f(a:1*/) -// Error: 6-6 expected comma -#[f 1 2] +// Error: 5 expected comma +#f(1 2) -// Error: 2:5-2:6 expected identifier -// Error: 1:7-1:7 expected expression -#[f 1:] +// Error: 2:4-2:5 expected identifier +// Error: 1:6 expected expression +#f(1:) -// Error: 5-6 expected identifier -#[f 1:2] +// Error: 4-5 expected identifier +#f(1:2) // Error: 4-7 expected identifier {f((x):1)} |
