Skip to content

Commit 12faa6d

Browse files
authored
update tests based on dev ggplot2 (#951)
1 parent 2e10089 commit 12faa6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/testthat/test-autoplot.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ test_that("performance plot for iterative search", {
104104
expect_equal(rlang::get_expr(p$mapping$x), expr(.iter))
105105
expect_equal(rlang::get_expr(p$mapping$y), expr(mean))
106106
expect_equal(p$labels$x, "Iteration")
107-
expect_equal(p$labels$y, "mean")
108-
expect_equal(p$labels$ymin, "mean - const * std_err")
109-
expect_equal(p$labels$ymax, "mean + const * std_err")
110107

111108
p <- autoplot(mt_spln_knn_bo_sep, type = "performance", metric = "rmse")
112109
expect_true(isTRUE(all.equal(unique(p$data$.metric), "rmse")))
@@ -183,7 +180,6 @@ test_that("regular grid plot", {
183180
expect_equal(p$labels$y, "")
184181
expect_equal(p$labels$colour, as.name("%^*#"))
185182
expect_equal(p$labels$x, "Cost")
186-
expect_equal(p$labels$group, "%^*#")
187183

188184
expect_true(grepl("^trans", class(p$scales$scales[[1]]$trans)))
189185
expect_equal(p$scales$scales[[1]]$trans$name, "log-2")

0 commit comments

Comments
 (0)