Skip to content

Commit

Permalink
Merge pull request #36 from teunbrand/ggplot2_3.5.0
Browse files Browse the repository at this point in the history
Update test expectations
  • Loading branch information
Swarchal authored Mar 7, 2024
2 parents 37bbfbb + c28ae77 commit 6022956
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/testthat/test-plot_wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,8 @@ test_that("returns ggplot object",{
})

test_that("returns expected ggplot object",{
expect_equal(length(out96), 9L) # 9 element list
expect_equal(names(out96),
c('data', 'layers', 'scales', 'mapping',
'theme', 'coordinates', 'facet', 'plot_env',
'labels'))
expect_equal(length(out96), length(ggplot()))
expect_equal(names(out96), names(ggplot()))
expect_equal(names(out96), names(out384))
})

Expand Down

0 comments on commit 6022956

Please sign in to comment.