Skip to content

Commit

Permalink
Merge branch 'rs/t-strvec-use-test-msg' into next
Browse files Browse the repository at this point in the history
Unit test clean-up.

* rs/t-strvec-use-test-msg:
  t-strvec: fix type mismatch in check_strvec
  • Loading branch information
gitster committed Jul 16, 2024
2 parents 898e3b6 + 7868716 commit 3e860b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/unit-tests/t-strvec.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
check_uint((vec)->nr, <=, (vec)->alloc)) { \
for (size_t i = 0; i < ARRAY_SIZE(expect); i++) { \
if (!check_str((vec)->v[i], expect[i])) { \
test_msg(" i: %"PRIuMAX, i); \
test_msg(" i: %"PRIuMAX, \
(uintmax_t)i); \
break; \
} \
} \
Expand Down

0 comments on commit 3e860b3

Please sign in to comment.