diff --git a/tests/testthat/test-nonstandard.R b/tests/testthat/test-nonstandard.R index d00d11b..0fa3fd2 100644 --- a/tests/testthat/test-nonstandard.R +++ b/tests/testthat/test-nonstandard.R @@ -7,10 +7,10 @@ test_that("character", { chop(x, br) ) - withr::with_options(list(santoku.warn_character = FALSE), - expect_silent( - chop(x, br) - ) + withr::local_options(santoku.warn_character = FALSE) + + expect_silent( + chop(x, br) ) # here, we think there should *always* be a warning