Skip to content

Commit

Permalink
chore(ci): make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Apr 4, 2024
1 parent d8587de commit 72cb212
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/wrap_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) { \
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 72cb212

Please sign in to comment.