1
Fork 0
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:
asynts 2020-09-23 11:01:32 +02:00 committed by Andreas Kling
parent ed5407a3d7
commit 3224fb7d55
2 changed files with 7 additions and 2 deletions

View file

@ -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)