Skip to content

Commit

Permalink
repair autoplot test (failed due to new ggplot version)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbossek committed Dec 1, 2015
1 parent 9672314 commit 7271fcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/testthat/test_autoplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ test_that("autoplot for log axis and show process", {
mutator = makeGaussMutator(sdev = 0.005)
)
res = doTheEvolution(obj.fun, control = control)
expect_message(autoplot(res, log.fitness = TRUE, complete.trace = TRUE)
, regexp = "Scale for 'y' is already present. Adding another scale for 'y', which will replace the existing scale.")
expect_true(autoplot(res, show.process = TRUE, complete.trace = TRUE))
expect_true(autoplot(res, log.fitness = TRUE, complete.trace = TRUE))
}
})

0 comments on commit 7271fcd

Please sign in to comment.