diff --git a/test/testutil/tests.c b/test/testutil/tests.c index 3f66b3e3cd4733bf4e5f2c4d19cf1c2dacb78f08..7a923889d609bdbc9ee1a5ce9918af2084585531 100644 --- a/test/testutil/tests.c +++ b/test/testutil/tests.c @@ -137,11 +137,13 @@ void test_error(const char *file, int line, const char *desc, ...) void test_note(const char *fmt, ...) { - va_list ap; - if (fmt != NULL) { + va_list ap; + test_printf_stderr("%*s# ", subtest_level(), ""); + va_start(ap, fmt); test_vprintf_stderr(fmt, ap); + va_end(ap); test_printf_stderr("\n"); } test_flush_stderr();