stdio: add printf %N.Ms test where M > strlen(arg)
This commit is contained in:
parent
ba626bf366
commit
97ef5b6fc7
|
@ -1,6 +1,7 @@
|
|||
# Build files
|
||||
/build-fx
|
||||
/build-cg
|
||||
/build-cg-push
|
||||
/*.g1a
|
||||
/*.g3a
|
||||
|
||||
|
|
|
@ -191,6 +191,7 @@ static struct printf_test const usual_tests[] = {
|
|||
{ "%p", PTR(0xa44b0000), "0xa44b0000" },
|
||||
/* Characters and strings */
|
||||
{ "%s", STR("HellWrld!"), "HellWrld!" },
|
||||
{ "[%-8.5s]", STR("He"), "[He ]" },
|
||||
{ "%-8.5s", STR("Hello, World!"), "Hello " },
|
||||
{ "%c", I32(100), "d" },
|
||||
{ "%6c", I32('#'), " #", },
|
||||
|
|
Loading…
Reference in New Issue