AK: Enable compile-time check of a format test string

Our implementation seems to parse this string just fine now.
This commit is contained in:
Timothy Flynn 2025-04-08 13:49:49 -04:00
commit e06c6dcf40

View file

@ -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<unsigned long>(6)), " ");
EXPECT_EQ(ByteString::formatted("{:{}}", "", static_cast<unsigned long>(6)), " ");
}
TEST_CASE(complex_string_specifiers)