From b6b42c892ca754fa99a4fb44d78bab2910fc8b08 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 6 Jul 2003 18:29:24 +0000 Subject: [PATCH] Improve the format of the --iterations output. --- wildtest.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wildtest.c b/wildtest.c index b5820993..3c40e4ae 100644 --- a/wildtest.c +++ b/wildtest.c @@ -59,8 +59,10 @@ run_test(int line, bool matches, bool same_as_fnmatch, fnmatch_errors++; } #endif - if (output_iterations) - printf("[%s] iterations = %d\n", pattern, wildmatch_iteration_count); + if (output_iterations) { + printf("%d: \"%s\" iterations = %d\n", line, pattern, + wildmatch_iteration_count); + } } int -- 2.34.1