mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:37:35 +00:00
AK: Allow calling format without arguments.
This commit is contained in:
parent
ed5407a3d7
commit
3224fb7d55
2 changed files with 7 additions and 2 deletions
|
@ -74,4 +74,9 @@ TEST_CASE(string_builder)
|
|||
EXPECT_EQ(builder.to_string(), " 42 21 ");
|
||||
}
|
||||
|
||||
TEST_CASE(format_without_arguments)
|
||||
{
|
||||
EXPECT_EQ(AK::format("foo"), "foo");
|
||||
}
|
||||
|
||||
TEST_MAIN(Format)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue