From 917537b4493d7892b9cf6418948014b8d092500b Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 8 Apr 2025 13:49:49 -0400 Subject: [PATCH] AK: Enable compile-time check of a format test string Our implementation seems to parse this string just fine now. --- Tests/AK/TestFormat.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/AK/TestFormat.cpp b/Tests/AK/TestFormat.cpp index 69b96d1ec77..2a63259261f 100644 --- a/Tests/AK/TestFormat.cpp +++ b/Tests/AK/TestFormat.cpp @@ -133,8 +133,7 @@ TEST_CASE(replacement_field) TEST_CASE(replacement_field_regression) { - // FIXME: Compiletime check bypass: cannot parse '}}' correctly. - EXPECT_EQ(ByteString::formatted("{:{}}"sv, "", static_cast(6)), " "); + EXPECT_EQ(ByteString::formatted("{:{}}", "", static_cast(6)), " "); } TEST_CASE(complex_string_specifiers)