Skip to content

Commit 12c88a4

Browse files
check with newer error message
1 parent 39a35ea commit 12c88a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testthat/test-parsing.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ test_that("CRLF EOLs fail with informative error", {
2929

3030

3131
test_that("mixed CRLF / LF EOLs fail", {
32+
skip(getRversion() < "4.4")
3233
expect_error(
3334
style_text("a + 3 -4 -> x\nx + 2\r\n glück + 1"),
34-
"unexpected input"
35+
"unexpected invalid token"
3536
)
3637
})
3738

0 commit comments

Comments
 (0)