Skip to content

Commit 0661fb2

Browse files
committed
Use rlang::local_options() in test
1 parent 1d11db5 commit 0661fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-ggplot-warnings.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
test_that("ggplotly does not issue partial-argument-match warning", {
44
p <- ggplot(data.frame())
5-
rlang::scoped_options(warnPartialMatchArgs = TRUE)
5+
rlang::local_options(warnPartialMatchArgs = TRUE)
66
expect_warning(ggplotly(p), regexp = NA)
77
})

0 commit comments

Comments
 (0)