aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/diagnostic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/diagnostic.c b/test/diagnostic.c
index 56a8a65..866f9f2 100644
--- a/test/diagnostic.c
+++ b/test/diagnostic.c
@@ -126,7 +126,7 @@ static int format_test(void)
static const char *expected_warn[] = {"warning:format_test:\n", "", "warning:format_test:%08lx:message is 3\n", "warningwarningwarningwarning"};
static const char *expected_fixme[] = {"fixme:format_test:\n", "", "fixme:format_test:%08lx:message is 3\n", "fixmefixmefixmefixme"};
static const char *expected_info[] = {"info:format_test:\n", "", "info:format_test:%08lx:message is 3\n", "infoinfoinfoinfo"};
- static const char *msg[] = {"", "", "message is %zu"};
+ static const char *msg[] = {"", "", "message is %zu", ""};
/* `ninja test` seems to be intercepting stdout, so we cannot test the default outstream */