Skip to content

Commit

Permalink
fix fixme test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa committed Feb 14, 2024
1 parent 5370d16 commit 3068571
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/testthat/test-plot_trajectory.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ test_that("outputs default axis labels", {
})

test_that("the errors message includes the name of the user's data", {
#FIXME: Figure out this test
# # Keep even if already tested in qplot_. Non-standard evaluation is fragile
# bad_region <- head(market_share, 2L) %>%
# mutate(region = c("a", "b")) %>%
# prep_trajectory()
#
# expect_error(plot_trajectory(bad_region), "bad_region")
# Keep even if already tested in qplot_. Non-standard evaluation is fragile
bad_region <- head(market_share, 2L) %>%
mutate(region = c("a", "b")) %>%
prep_trajectory()

expect_error(plot_trajectory(bad_region), "bad_region")
})

test_that("By default doesn't center the Y axis", {
Expand Down

0 comments on commit 3068571

Please sign in to comment.