From 76c35e6433283c4ff95790d55cc82c3dd2b781e6 Mon Sep 17 00:00:00 2001 From: Andrew Heiss Date: Mon, 3 Jun 2024 12:23:07 -0400 Subject: [PATCH] lol *actually* fix the linebreaks --- tests/testthat/helper.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }