mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-15 21:27:18 +03:00
Test and fix malloc_printf("%%").
This commit is contained in:
parent
0dec3507c6
commit
0c4e743eaf
2 changed files with 8 additions and 7 deletions
|
|
@ -181,6 +181,8 @@ TEST_BEGIN(test_malloc_snprintf)
|
|||
|
||||
TEST("hello", "hello");
|
||||
|
||||
TEST("50%, 100%", "50%%, %d%%", 100);
|
||||
|
||||
TEST("a0123b", "a%sb", "0123");
|
||||
|
||||
TEST("a 0123b", "a%5sb", "0123");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue