diff --git a/tests/testthat/helper.R b/tests/testthat/helper.R index 2d58588..ff45ff3 100644 --- a/tests/testthat/helper.R +++ b/tests/testthat/helper.R @@ -70,7 +70,7 @@ extract_output <- function(raw_output) { actual_output <- paste0(raw_output[start_index:end_index], collapse = "\n") # Remove Windows's \r linebreaks from the output - actual_output <- gsub("\r\n", "\n", actual_output) + actual_output <- gsub("\r", "", actual_output) actual_output }