summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/string.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/string.typ')
-rw-r--r--tests/typ/compiler/string.typ3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/typ/compiler/string.typ b/tests/typ/compiler/string.typ
index c4c1669e..4241361a 100644
--- a/tests/typ/compiler/string.typ
+++ b/tests/typ/compiler/string.typ
@@ -41,8 +41,7 @@
#"Hello".at(5)
---
-// Error: 25-32 expected string, found dictionary
-#"Hello".at(5, default: (a: 10))
+#test("Hello".at(5, default: (a: 10)), (a: 10))
---
// Test the `slice` method.