summaryrefslogtreecommitdiff
path: root/tests/typ/expr
diff options
context:
space:
mode:
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" }