File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
tests/testthat/mock-pkg/tests/testthat Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff 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- })
2115test_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+ })
You can’t perform that action at this time.
0 commit comments