Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 14, 2024
1 parent fed7a2a commit 8f7875f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/testthat/test_patchwork.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ test_that("patchwork + operator", {
expect_identical(
deplot,
backports:::deparse1(
quote((ggplot(mtcars) + geom_point(aes(mpg, disp)))/(ggplot(mtcars) +
geom_boxplot(aes(gear, disp, group = gear))) - (ggplot(mtcars) + geom_bar(aes(gear)) + facet_wrap(~cyl))
)
quote((ggplot(mtcars) +
geom_point(aes(mpg, disp))) / (ggplot(mtcars) +
geom_boxplot(aes(gear, disp, group = gear))) - (ggplot(mtcars) +
geom_bar(aes(gear)) +
facet_wrap(~cyl)))
)
)
expect_true(is.ggplot(eval_ggcall(plot)))
Expand Down

0 comments on commit 8f7875f

Please sign in to comment.