Skip to content

Commit a046159

Browse files
lionel-teunbrand
authored andcommitted
Fix snapshot test for warn_dots_used()
1 parent 1f275eb commit a046159

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/testthat/test-plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
test_that("ggplot() throws informative errors", {
22
expect_snapshot_error(ggplot(mapping = letters))
33
expect_snapshot_error(ggplot(data))
4-
expect_snapshot_warning(ggplot(foobar = "nonsense"))
4+
expect_snapshot_warning(ggplot(NULL, foobar = "nonsense"))
55
})
66

77
test_that("construction have user friendly errors", {

0 commit comments

Comments
 (0)