From 12c88a4c590d9425126498149ba600a3e2275acf Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Thu, 21 Mar 2024 07:03:59 +0100 Subject: [PATCH] check with newer error message --- tests/testthat/test-parsing.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-parsing.R b/tests/testthat/test-parsing.R index f0a7bfcc4..4c6503494 100644 --- a/tests/testthat/test-parsing.R +++ b/tests/testthat/test-parsing.R @@ -29,9 +29,10 @@ test_that("CRLF EOLs fail with informative error", { test_that("mixed CRLF / LF EOLs fail", { + skip(getRversion() < "4.4") expect_error( style_text("a + 3 -4 -> x\nx + 2\r\n glück + 1"), - "unexpected input" + "unexpected invalid token" ) })