From c054c01977cc127e6b249514b3079993871d81f1 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Mon, 25 Mar 2019 11:02:53 +0900 Subject: [PATCH] fix output format of test results --- test/test_utf8.c | 2 +- test/testc.c | 2 +- test/testu.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_utf8.c b/test/test_utf8.c index 84f1c6e..bf19f95 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -1197,7 +1197,7 @@ extern int main(int argc, char* argv[]) e("(*FOO)", "abcdefg", ONIGERR_UNDEFINED_CALLOUT_NAME); fprintf(stdout, - "\nRESULT SUCC: %d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n", + "\nRESULT SUCC: %4d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n", nsucc, nfail, nerror, onig_version()); onig_region_free(region, 1); diff --git a/test/testc.c b/test/testc.c index bc8fdf7..8745280 100644 --- a/test/testc.c +++ b/test/testc.c @@ -966,7 +966,7 @@ extern int main(int argc, char* argv[]) #endif fprintf(stdout, - "\nRESULT SUCC: %d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n", + "\nRESULT SUCC: %4d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n", nsucc, nfail, nerror, onig_version()); #ifndef POSIX_TEST diff --git a/test/testu.c b/test/testu.c index 3f5990d..58fca61 100644 --- a/test/testu.c +++ b/test/testu.c @@ -957,7 +957,7 @@ extern int main(int argc, char* argv[]) fprintf(stdout, - "\nRESULT SUCC: %d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n", + "\nRESULT SUCC: %4d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n", nsucc, nfail, nerror, onig_version()); #ifndef POSIX_TEST -- 2.40.0