Skip to content

Commit

Permalink
Avoid fancy quotes in test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Apr 10, 2024
1 parent a9620f5 commit 87a2066
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@
Output
-- R CMD build -----------------------------------------------------------------
* checking for file '<path> ... OK
* preparing pkg:
* preparing 'pkg':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building pkg_0.0.0.9000.tar.gz
* building 'pkg_0.0.0.9000.tar.gz'
-- Confirmation ----------------------------------------------------------------
Message
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-rc.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ test_that("rc_submit", {
)
x <- gsub("\x91", "'", x, fixed = TRUE, useBytes = TRUE)
x <- gsub("\x92", "'", x, fixed = TRUE, useBytes = TRUE)
x <- gsub("\xe2\x80\x98", "'", x, fixed = TRUE, useBytes = TRUE)
x <- gsub("\xe2\x80\x99", "'", x, fixed = TRUE, useBytes = TRUE)
x
})

Expand Down

0 comments on commit 87a2066

Please sign in to comment.