summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2025-06-19 17:20:17 +0200
committerLaurenz <laurmaedje@gmail.com>2025-06-20 17:32:37 +0200
commitd821633f50f7f4c9edc49b6ac5e88d43802cb206 (patch)
treecf627f96062d1549fce62f90fabd35785b3c99c7 /tests
parent3b35f0cecf37c00d33334be6a596a105167875dd (diff)
Generic casting for `Axes<T>`
Diffstat (limited to 'tests')
-rw-r--r--tests/suite/visualize/line.typ3
-rw-r--r--tests/suite/visualize/path.typ3
-rw-r--r--tests/suite/visualize/polygon.typ3
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/suite/visualize/line.typ b/tests/suite/visualize/line.typ
index 6cbbbb49..4c763030 100644
--- a/tests/suite/visualize/line.typ
+++ b/tests/suite/visualize/line.typ
@@ -84,7 +84,8 @@
--- line-bad-point-array ---
// Test errors.
-// Error: 12-19 point array must contain exactly two entries
+// Error: 12-19 array must contain exactly two items
+// Hint: 12-19 the first item determines the value for the X axis and the second item the value for the Y axis
#line(end: (50pt,))
--- line-bad-point-component-type ---
diff --git a/tests/suite/visualize/path.typ b/tests/suite/visualize/path.typ
index e44b2270..795fde98 100644
--- a/tests/suite/visualize/path.typ
+++ b/tests/suite/visualize/path.typ
@@ -76,7 +76,8 @@
#path(((0%, 0%), (0%, 0%), (0%, 0%), (0%, 0%)))
--- path-bad-point-array ---
-// Error: 7-31 point array must contain exactly two entries
+// Error: 7-31 array must contain exactly two items
+// Hint: 7-31 the first item determines the value for the X axis and the second item the value for the Y axis
// Warning: 2-6 the `path` function is deprecated, use `curve` instead
#path(((0%, 0%), (0%, 0%, 0%)))
diff --git a/tests/suite/visualize/polygon.typ b/tests/suite/visualize/polygon.typ
index ec27194d..6cc243d2 100644
--- a/tests/suite/visualize/polygon.typ
+++ b/tests/suite/visualize/polygon.typ
@@ -49,7 +49,8 @@
)
--- polygon-bad-point-array ---
-// Error: 10-17 point array must contain exactly two entries
+// Error: 10-17 array must contain exactly two items
+// Hint: 10-17 the first item determines the value for the X axis and the second item the value for the Y axis
#polygon((50pt,))
--- polygon-infinite-size ---