From 372f1479306cc7814238605d8f57b3a1a4ccaf9e Mon Sep 17 00:00:00 2001 From: Ramiro Magno Date: Tue, 14 May 2024 22:22:23 +0100 Subject: [PATCH] =?UTF-8?q?Avoid=20backslash=20hell=20(=D5=B4=D5=A5=D6=80?= =?UTF-8?q?=D5=BD=D5=AB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Credit goes to @edgar-manukya for the expression --- tests/testthat/test-assign_datetime.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-assign_datetime.R b/tests/testthat/test-assign_datetime.R index 69980b95..5cb6e42c 100644 --- a/tests/testthat/test-assign_datetime.R +++ b/tests/testthat/test-assign_datetime.R @@ -19,7 +19,7 @@ test_that("assign_datetime: date and time conversion", { ) warning_msg <- - "There were 12 parsing problems\\. Run `problems\\(\\)` on parsed results for details\\." + r"{There were 12 parsing problems\. Run `problems\(\)` on parsed results for details\.}" expect_warning(rlang::with_interactive( assign_datetime( raw_dat = md1,