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" ) })