Skip to content

Commit

Permalink
Merge 93eb4f8 into b70aebe
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert authored Mar 12, 2022
2 parents b70aebe + 93eb4f8 commit e5955b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# All available hooks: https://pre-commit.com/hooks.html
# R specific hooks: https://github.com/lorenzwalthert/precommit
default_stages: [commit]
default_language_version:
python: python3

repos:
- repo: https://github.com/lorenzwalthert/precommit
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
* terminate running jobs on new push to save resources (#888).
* Use the {touchstone} GitHub Action instead of the literal script (#889).
* upgrade R CMD check Github Actions to use `v2`.
* {styler} test are relaxed to not assume a specific error message on the
wrong usage of `_` (#929).

# styler 1.6.2

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-escaping.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test_that("escaping of characters works", {

expect_error(test_collection("escaping", "fail-parsing-3",
transformer = style_text
), "<text>:2:3: unexpected input\n1: \n2: 1 _\n ^", fixed = TRUE)
))

expect_error(test_collection("escaping", "fail-parsing-4",
transformer = style_text
Expand Down

0 comments on commit e5955b1

Please sign in to comment.