From ffad8516af0b91121dc0761c8026e0a12939a7d4 Mon Sep 17 00:00:00 2001 From: Michael Lohr Date: Wed, 3 May 2023 12:34:35 +0200 Subject: Implement default values for at() (#995) --- tests/typ/compiler/string.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typ/compiler/string.typ') diff --git a/tests/typ/compiler/string.typ b/tests/typ/compiler/string.typ index cba478f7..0bc3a9be 100644 --- a/tests/typ/compiler/string.typ +++ b/tests/typ/compiler/string.typ @@ -31,7 +31,7 @@ #"🏳️‍🌈".at(2) --- -// Error: 2-15 string index out of bounds (index: 5, len: 5) +// Error: 2-15 no default value was specified and string index out of bounds (index: 5, len: 5) #"Hello".at(5) --- -- cgit v1.2.3