seperate Mu::format and Mu::vformat

This commit is contained in:
Derek Zhou
2021-04-22 18:32:38 +00:00
parent 5edc5a886a
commit dc6f76d74d
6 changed files with 9 additions and 7 deletions

View File

@ -168,6 +168,8 @@ test_clean ()
static void
test_format ()
{
g_assert_true (format ("hello %s", "world") ==
"hello world");
g_assert_true (format ("hello %s, %u", "world", 123) ==
"hello world, 123");
}