summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/recursion.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-09-11 14:42:43 +0200
committerLaurenz <laurmaedje@gmail.com>2023-09-11 14:42:43 +0200
commit305524d005df075d53575552ee090fb53192a3fe (patch)
tree08b739e8fc41057b79a2d7ea7a7208ca358d60b3 /tests/typ/compiler/recursion.typ
parentb471ac7d590abd2398ce25193b4e4df373bf2e9c (diff)
Update tests for type system changes
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