Skip to content

Commit

Permalink
Merge aac55d7 into 10efce2
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil authored Dec 8, 2023
2 parents 10efce2 + aac55d7 commit 4447865
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testthat/test-io.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ test_that("non-ASCII characters are handled properly for text styling", {


test_that("non-ASCII characters are handled properly for file styling", {
skip_if(.Platform$OS.type != "windows")

# to avoid warnings
# on unix: 'OS reports request to set locale to "English_United States.1252" cannot be honored'
# on win: 'using locale code page other than 65001 ("UTF-8") may cause problems'
withr::local_options(list(warn = -1L))
withr::with_locale(
c(LC_CTYPE = "English_United States.1252"),
{
Expand Down

0 comments on commit 4447865

Please sign in to comment.