summaryrefslogtreecommitdiff
path: root/tests/typ/code/ops.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/ops.typ')
-rw-r--r--tests/typ/code/ops.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/code/ops.typ b/tests/typ/code/ops.typ
index 79743f5d..b5a4d8d4 100644
--- a/tests/typ/code/ops.typ
+++ b/tests/typ/code/ops.typ
@@ -63,14 +63,14 @@
test(v + v, 2.0 * v)
}
- // Linears cannot be divided by themselves.
+ // Relative lengths cannot be divided by themselves.
if type(v) != "relative length" {
test(v / v, 1.0)
test(v / v == 1, true)
}
}
-// Make sure length, relative and linear
+// Make sure length, ratio and relative length
// - can all be added to / subtracted from each other,
// - multiplied with integers and floats,
// - divided by floats.