summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/closure.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/closure.typ')
-rw-r--r--tests/typ/compiler/closure.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/closure.typ b/tests/typ/compiler/closure.typ
index 0f6809b5..92d01446 100644
--- a/tests/typ/compiler/closure.typ
+++ b/tests/typ/compiler/closure.typ
@@ -115,7 +115,7 @@
---
// Too few arguments.
#{
- let types(x, y) = "[" + type(x) + ", " + type(y) + "]"
+ let types(x, y) = "[" + str(type(x)) + ", " + str(type(y)) + "]"
test(types(14%, 12pt), "[ratio, length]")
// Error: 13-21 missing argument: y