mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
d5222e9bba
commit
917537b449
Notes:
github-actions[bot]
2025-04-09 00:01:19 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/917537b4493 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4286
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue