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 committed by Tim Flynn
parent d5222e9bba
commit 917537b449
Notes: github-actions[bot] 2025-04-09 00:01:19 +00:00

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)