summaryrefslogtreecommitdiff
path: root/tests/typ/insert/circle.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-30 18:04:08 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-30 18:49:19 +0200
commit1ee1d078e2480ddd08d40915bc7a74a8352acff0 (patch)
tree1e7ff367278a19fead3e404cf06d65bfb80a6cd9 /tests/typ/insert/circle.typ
parent42a27b48df427edf8dbb624c51551a90ecf2e7ea (diff)
Fatal errors
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free - Parsing still recovers and can produce multiple errors - Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import) - The single error that could occur during execution is removed for now - Removes Value::Error variant
Diffstat (limited to 'tests/typ/insert/circle.typ')
-rw-r--r--tests/typ/insert/circle.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/insert/circle.typ b/tests/typ/insert/circle.typ
index 38fce645..8d76f4ef 100644
--- a/tests/typ/insert/circle.typ
+++ b/tests/typ/insert/circle.typ
@@ -39,9 +39,9 @@ Expanded by height.
---
// Radius wins over width and height.
// Error: 23-34 unexpected argument
-// Error: 36-49 unexpected argument
#circle(radius: 10pt, width: 50pt, height: 100pt, fill: eastern)
+---
// Width wins over height.
-// Error: 22-34 unexpected argument
-#circle(width: 20pt, height: 50pt, fill: eastern)
+// Error: 9-21 unexpected argument
+#circle(height: 50pt, width: 20pt, fill: eastern)