Skip to content

Commit

Permalink
unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlandis committed Feb 28, 2024
1 parent b15edc6 commit 7d61672
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/testthat/test_add_gg.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ test_that("New ggside layers are added correctly",{

test_that("add_gg errors", {
expect_error(+p, "with a single argument. Did you accidentally put")
expect_error({ggside:::add_gg("character", p, "a character")}, "no applicable method for 'add_gg'")
expect_error("" + p, "No method defined for class character")
fake_theme <- structure(numeric(), class = "theme")
expect_error(theme() + fake_theme, "to a theme object")
Expand Down

0 comments on commit 7d61672

Please sign in to comment.