Skip to content

Commit

Permalink
check with newer error message
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Mar 21, 2024
1 parent 39a35ea commit 12c88a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-parsing.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
})

Expand Down

0 comments on commit 12c88a4

Please sign in to comment.