Skip to content

Commit

Permalink
tests: use strict checks to get ascii error
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Jan 17, 2024
1 parent 8aa98d0 commit 33cb7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-write.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ test_that("xportr_write: expect error when file name contains non-ASCII symbols

on.exit(unlink(tmpdir))

expect_error(xportr_write(data_to_save, tmp))
expect_error(xportr_write(data_to_save, tmp, strict_checks = TRUE))
})

test_that("xportr_write: expect warning when file name contains underscore and strict_checks = FALSE", {
Expand Down

0 comments on commit 33cb7c8

Please sign in to comment.