Skip to content

Commit 9094594

Browse files
committed
format_appendix: decrease width for file in coverage table
For bbi, the "o" in parsers/nmparser/parse_parameter_comments.go (44 characters) is partially truncated. Decrease the width by one to prevent this case, and, given these aren't fixed-width fonts, by one more to hopefully provide enough margin to avoid this in other cases.
1 parent 43d391e commit 9094594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/format-report.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ format_appendix <- function(extra_notes_data, return_vals = FALSE, scorecard_typ
798798
cov_results_df <- cov_results_df %>%
799799
dplyr::mutate(
800800
code_file = wrap_text(.data$code_file,
801-
width = 45, indent = TRUE, strict = TRUE
801+
width = 43, indent = TRUE, strict = TRUE
802802
),
803803
test_coverage = sprintf("%.2f%%", .data$test_coverage)
804804
) %>%

0 commit comments

Comments
 (0)