Skip to content

Commit 71fd411

Browse files
committed
Use envvar to regenerate tests
1 parent 0d3e045 commit 71fd411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/mock-pkg/tests/testthat/test-failed.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ library("vdiffr")
55
p1_orig <- ggplot2::ggplot(mtcars, ggplot2::aes(disp)) + ggplot2::geom_histogram()
66
p1_fail <- p1_orig + ggplot2::geom_vline(xintercept = 300)
77

8-
maintenance <- FALSE
8+
maintenance <- Sys.getenv("VDIFFR_REGENERATE_TESTS") == "yes"
99
skip_if_maintenance <- function() {
1010
if (maintenance) {
1111
skip("maintenance")

0 commit comments

Comments
 (0)