aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/support
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/support')
-rw-r--r--test/core/support/string_test.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/core/support/string_test.c b/test/core/support/string_test.c
index 1e8039b1e8..22ae7bacf5 100644
--- a/test/core/support/string_test.c
+++ b/test/core/support/string_test.c
@@ -130,10 +130,6 @@ static void test_asprintf() {
GPR_ASSERT(buf[0] == '\0');
gpr_free(buf);
- /* Print an invalid format. */
- GPR_ASSERT(gpr_asprintf(&buf, "%") == -1);
- GPR_ASSERT(buf == NULL);
-
/* Print strings of various lengths. */
for (i = 1; i < 100; i++) {
GPR_ASSERT(gpr_asprintf(&buf, "%0*d", i, 1) == i);