mirror of
https://github.com/json-c/json-c.git
synced 2026-11-09 07:20:15 +08:00
Increased the test coverage of printbuf.c 82% to 92%.
This commit is contained in:
1 parent
0421772bbc
commit
8c0cb0bd28
2 files changed
+7
No files matched your search
@@ -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