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 cc00623 commit 0bfa6faCopy full SHA for 0bfa6fa
tests/testthat/test-ggplot-labels.R
@@ -5,7 +5,7 @@ test_that("ggtitle is translated correctly", {
5
geom_point(aes(Petal.Width, Sepal.Width)) +
6
ggtitle("My amazing plot!")
7
info <- expect_doppelganger_built(ggiris, "labels-ggtitle")
8
- expect_identical(info$layout$title, "My amazing plot!")
+ expect_identical(info$layout$title$text, "My amazing plot!")
9
})
10
11
test_that("ylab is translated correctly", {
0 commit comments