summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/recursion.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/recursion.typ')
-rw-r--r--tests/typ/compiler/recursion.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compiler/recursion.typ b/tests/typ/compiler/recursion.typ
index 1bd53178..82da7245 100644
--- a/tests/typ/compiler/recursion.typ
+++ b/tests/typ/compiler/recursion.typ
@@ -23,13 +23,13 @@
// Test capturing with named function.
#let f = 10
#let f() = f
-#test(type(f()), "function")
+#test(type(f()), function)
---
// Test capturing with unnamed function.
#let f = 10
#let f = () => f
-#test(type(f()), "integer")
+#test(type(f()), int)
---
// Error: 15-21 maximum function call depth exceeded