Skip to content

Commit 2c6feff

Browse files
committed
Move maintenance block below
1 parent 4c2200d commit 2c6feff

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ skip_if_maintenance <- function() {
1212
}
1313
}
1414

15-
test_that("(maintenance) Reset failing figure", {
16-
if (!maintenance) {
17-
skip("maintenance")
18-
}
19-
expect_doppelganger("myplot", p1_orig, "")
20-
})
2115
test_that("New plots work are collected", {
2216
skip_if_maintenance()
2317
expect_doppelganger("myplot", p1_fail, "")
@@ -27,3 +21,13 @@ test_that("Duplicated expectations issue a warning", {
2721
skip_if_maintenance()
2822
expect_doppelganger("myplot", p1_fail, "")
2923
})
24+
25+
26+
# Maintenance --------------------------------------------------------
27+
28+
test_that("(maintenance) Reset failing figure", {
29+
if (!maintenance) {
30+
skip("maintenance")
31+
}
32+
expect_doppelganger("myplot", p1_orig, "")
33+
})

0 commit comments

Comments
 (0)