Skip to content

Commit 8e14bad

Browse files
committed
fix test
1 parent 6bbb401 commit 8e14bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-ggplot-bar.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ test_that("For a given x value, if multiple y exist, sum them. ", {
188188
p <- ggplot(mtcars, aes(factor(cyl))) + geom_bar() + coord_flip()
189189

190190
test_that("geom_bar() + coord_flip() works", {
191-
info <- expect_traces(g, 1, "coord-flip")
191+
info <- expect_traces(p, 1, "coord-flip")
192192
expect_identical(info$data[[1]]$orientation, "h")
193193
})
194194

0 commit comments

Comments
 (0)