Skip to content

Commit 0bfa6fa

Browse files
committed
fix test expectation
1 parent cc00623 commit 0bfa6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-ggplot-labels.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test_that("ggtitle is translated correctly", {
55
geom_point(aes(Petal.Width, Sepal.Width)) +
66
ggtitle("My amazing plot!")
77
info <- expect_doppelganger_built(ggiris, "labels-ggtitle")
8-
expect_identical(info$layout$title, "My amazing plot!")
8+
expect_identical(info$layout$title$text, "My amazing plot!")
99
})
1010

1111
test_that("ylab is translated correctly", {

0 commit comments

Comments
 (0)