mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-19 02:15:38 +03:00
Fix warnings and a test failure exposed on CentOS 6.3.
This commit is contained in:
parent
fb1775e47e
commit
35f1bc4e4b
2 changed files with 5 additions and 4 deletions
|
|
@ -151,7 +151,6 @@ TEST_BEGIN(test_malloc_snprintf_truncated)
|
|||
} while (0)
|
||||
|
||||
for (len = 1; len < BUFLEN; len++) {
|
||||
TEST("", "");
|
||||
TEST("012346789", "012346789");
|
||||
TEST("a0123b", "a%sb", "0123");
|
||||
TEST("a01234567", "a%s%s", "0123", "4567");
|
||||
|
|
@ -180,7 +179,6 @@ TEST_BEGIN(test_malloc_snprintf)
|
|||
assert_d_eq(result, strlen(expected_str), "Unexpected result"); \
|
||||
} while (0)
|
||||
|
||||
TEST("", "");
|
||||
TEST("hello", "hello");
|
||||
|
||||
TEST("a0123b", "a%sb", "0123");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue