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-bracket.typ | |
| parent | db1659a987cd240b78e45666617248d3d0cc7d64 (diff) | |
Refresh tests 🌊
Diffstat (limited to 'tests/lang/typ/call-bracket.typ')
| -rw-r--r-- | tests/lang/typ/call-bracket.typ | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/lang/typ/call-bracket.typ b/tests/lang/typ/call-bracket.typ deleted file mode 100644 index eb097094..00000000 --- a/tests/lang/typ/call-bracket.typ +++ /dev/null @@ -1,48 +0,0 @@ -// Test bracketed function calls. - ---- -// Whitespace is insignificant. -#[ f ] - -// Alternatives for embedding. -#[f f()], #[f #[f]], #[f][#[f]], - -// Tight functions. -#[f]#[f] - -// Multi-paragraph body. -#[align right][ - First - - Second -] - ---- -// Chained once. -#[f | f] - -// Chained twice. -#[f|f|f] - -// With body. -// Error: 7-8 expected identifier, found integer -#[f | 1 | box][💕] - -// With actual functions. -#[box width: 1cm | image "res/rhino.png"] - ---- -// Error: 8-8 expected identifier -#[f 1 |] - -// Error: 4-4 expected identifier -#[ | f true] - -// Error: 2:3-2:3 expected identifier -// Error: 1:4-1:4 expected identifier -#[|][Nope] - -// Pipe wins over parens. -// Error: 2:6-2:6 expected closing paren -// Error: 1:9-1:10 expected expression, found closing paren -#[f (|f )] |
