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 7e6d125 commit b8ce6a9Copy full SHA for b8ce6a9
tests/testthat/test-theme.r
@@ -252,7 +252,7 @@ test_that("theme validation happens at build stage", {
252
253
# the error occurs when we try to render the plot
254
p <- ggplot() + theme(text = 0)
255
- expect_error(print(p), "must be an `element_text`")
+ expect_error(print(p), "must be an object of type `element_text`")
256
257
# without validation, the error occurs when the element is accessed
258
p <- ggplot() + theme(text = 0, validate = FALSE)
0 commit comments