Skip to content

Commit

Permalink
last two tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Jan 28, 2025
1 parent cff4f72 commit aa05ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-knitr_extended_formats.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test_that("marginfigure engine from tufte package doesn't cause problems", {

expect_lint(
file = test_path("knitr_extended_formats", "tufte.Rmd"),
checks = list(rex::rex("Use <-, not =, for assignment."), line_number = 11L),
checks = list(rex::rex("Use one of <-, <<- for assignment, not =."), line_number = 11L),
default_linters,
parse_settings = FALSE
)
Expand All @@ -16,7 +16,7 @@ test_that("engines from bookdown package cause no problems", {

expect_lint(
file = test_path("knitr_extended_formats", "bookdown.Rmd"),
checks = list(rex::rex("Use <-, not =, for assignment."), line_number = 14L),
checks = list(rex::rex("Use one of <-, <<- for assignment, not =."), line_number = 14L),
default_linters,
parse_settings = FALSE
)
Expand Down

0 comments on commit aa05ac7

Please sign in to comment.