mirror of
https://github.com/json-c/json-c.git
synced 2026-04-06 13:59:07 +08:00
Increased the test coverage of printbuf.c 82% to 92%.
This commit is contained in:
@@ -29,5 +29,6 @@ sprintbuf to just after resize(31+1): 32, [XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX], st
|
||||
16, [plain12147483647]
|
||||
27, [plain12147483647-2147483648]
|
||||
29, [plain12147483647-2147483648%s]
|
||||
284, [plain12147483647-2147483648%sif string is greater than stack buffer, then use dynamic string with vasprintf. Note: some implementation of vsnprintf return -1 if output is truncated whereas some return the number of bytes that would have been written - this code handles both cases.]
|
||||
test_sprintbuf: end test
|
||||
========================================
|
||||
|
||||
Reference in New Issue
Block a user