mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 15:32:22 +00:00
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:
parent
fc18417e02
commit
e06c6dcf40
1 changed files with 1 additions and 2 deletions
|
@ -133,8 +133,7 @@ TEST_CASE(replacement_field)
|
||||||
|
|
||||||
TEST_CASE(replacement_field_regression)
|
TEST_CASE(replacement_field_regression)
|
||||||
{
|
{
|
||||||
// FIXME: Compiletime check bypass: cannot parse '}}' correctly.
|
EXPECT_EQ(ByteString::formatted("{:{}}", "", static_cast<unsigned long>(6)), " ");
|
||||||
EXPECT_EQ(ByteString::formatted("{:{}}"sv, "", static_cast<unsigned long>(6)), " ");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE(complex_string_specifiers)
|
TEST_CASE(complex_string_specifiers)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue