summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-28 21:20:39 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-28 21:20:39 -0500
commit76a8382016ff4b9c6b7d2d7912ced47078b37096 (patch)
treebb2ac7f6ab361e89c29a077ec844f492920a541f
parenta9803100f1a3925d1e79d2dd7ddd2630edcca3bd (diff)
account for verbosity in test_void_imp()
-rw-r--r--test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test.c b/test.c
index 531d25b..01a6dd5 100644
--- a/test.c
+++ b/test.c
@@ -89,7 +89,10 @@ void test_int_equals_imp(const char *expression, int result, int expected)
void test_void_imp(const char *expression)
{
- printf("? %s\n", expression);
+ putchar('?');
+ if (verbose) {
+ printf(" %s\n", expression);
+ }
}
void test_bool_imp(const char *expression, int result, int expected)