We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0393ae commit 03b23fcCopy full SHA for 03b23fc
tests/testthat/test-layer.R
@@ -25,6 +25,13 @@ test_that("unknown aesthetics create warning", {
25
expect_warning(geom_point(aes(blah = "red")), "unknown aesthetics")
26
})
27
28
+test_that("empty aesthetics create warning", {
29
+ expect_warning(
30
+ geom_point(fill = NULL, shape = character()),
31
+ "Ignoring empty aesthetics"
32
+ )
33
+})
34
+
35
test_that("invalid aesthetics throws errors", {
36
# We want to test error and ignore the scale search message
37
suppressMessages({
0 commit comments