From 72cb21287a7c32424d876310285e93c507189fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Thu, 4 Apr 2024 21:29:43 +0900 Subject: [PATCH] chore(ci): make lint happy --- test/wrap_test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/wrap_test.c b/test/wrap_test.c index aef1748..54cfb95 100644 --- a/test/wrap_test.c +++ b/test/wrap_test.c @@ -29,7 +29,8 @@ char tstbuf[BASE16384_ENCBUFSZ]; if (has_failed) { \ perror(reason); \ return 1; \ - } + } \ + fputs(reason " run successfully\n", stderr); #define loop_ok(has_failed, i, reason) \ if (has_failed) { \ @@ -85,7 +86,8 @@ char tstbuf[BASE16384_ENCBUFSZ]; fp = fopen(TEST_INPUT_FILENAME, "wb"); \ ok(!fp, "fopen"); \ ok(fwrite(encbuf, TEST_SIZE, 1, fp) != 1, "fwrite"); \ - ok(fclose(fp), "fclose"); + ok(fclose(fp), "fclose"); \ + fputs("input file created.", stderr); int main() { srand(time(NULL));