diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-09 10:50:25 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-09 10:50:25 +0200 |
| commit | 9950627789358b4d46c7fd8ba20d1428aee7bf01 (patch) | |
| tree | 9cad73f1f7abe6b6768575776d0c3cd1af8c6c33 /tests/typ/insert | |
| parent | 4fb58acafde3ca7020a980bd1e0a3585a47ca4f0 (diff) | |
Even shorter error annotations
Error annotations are now relative to the first following non-comment line.
Diffstat (limited to 'tests/typ/insert')
| -rw-r--r-- | tests/typ/insert/circle.typ | 4 | ||||
| -rw-r--r-- | tests/typ/insert/square.typ | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/insert/circle.typ b/tests/typ/insert/circle.typ index 8c35b988..38fce645 100644 --- a/tests/typ/insert/circle.typ +++ b/tests/typ/insert/circle.typ @@ -38,8 +38,8 @@ Expanded by height. --- // Radius wins over width and height. -// Error: 2:23-2:34 unexpected argument -// Error: 1:36-1:49 unexpected argument +// Error: 23-34 unexpected argument +// Error: 36-49 unexpected argument #circle(radius: 10pt, width: 50pt, height: 100pt, fill: eastern) // Width wins over height. diff --git a/tests/typ/insert/square.typ b/tests/typ/insert/square.typ index d003635d..d546773f 100644 --- a/tests/typ/insert/square.typ +++ b/tests/typ/insert/square.typ @@ -11,8 +11,8 @@ Auto-sized square. \ --- // Length wins over width and height. -// Error: 2:9-2:20 unexpected argument -// Error: 1:22-1:34 unexpected argument +// Error: 09-20 unexpected argument +// Error: 22-34 unexpected argument #square(width: 10cm, height: 20cm, length: 1cm, fill: rgb("eb5278")) --- |
