summaryrefslogtreecommitdiff
path: root/tests/typ/expr
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-17 22:08:44 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-17 22:08:44 +0100
commit8cdfc7faafc1d8df60d44e5db9d1c9e26345675b (patch)
tree1c499081c972c2fd280a0fc6a820c07caf79c283 /tests/typ/expr
parent271b0f953b35ab2c0281b5f728798204accc412f (diff)
Rename box to rect and color to fill ✏
Diffstat (limited to 'tests/typ/expr')
-rw-r--r--tests/typ/expr/ops-invalid.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/expr/ops-invalid.typ b/tests/typ/expr/ops-invalid.typ
index f760ae31..12d2a2c3 100644
--- a/tests/typ/expr/ops-invalid.typ
+++ b/tests/typ/expr/ops-invalid.typ
@@ -50,10 +50,10 @@
// Error: 3-4 unknown variable
{ z = 1 }
-// Error: 3-6 cannot assign to a constant
-{ box = "hi" }
+// Error: 3-7 cannot assign to a constant
+{ rect = "hi" }
-// Works if we define box beforehand
+// Works if we define rect beforehand
// (since then it doesn't resolve to the standard library version anymore).
-#let box = ""
-{ box = "hi" }
+#let rect = ""
+{ rect = "hi" }