Skip to content

Commit db799c5

Browse files
committed
use expect_doppelganger_cust() instead of vdiffr::expect_doppelganger() whenever
the file name is not fixed but depends on some object (just to be safe for the future)
1 parent e8c0799 commit db799c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test_methods_vsel.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ test_that("`x` of class `cv_proportions` works", {
752752
for (tstsetup in names(plotprs)) {
753753
expect_s3_class(plotprs[[tstsetup]], c("gg", "ggplot"))
754754
if (run_snaps) {
755-
vdiffr::expect_doppelganger(tstsetup, plotprs[[tstsetup]])
755+
expect_doppelganger_cust(tstsetup, plotprs[[tstsetup]])
756756
}
757757
}
758758
})

0 commit comments

Comments
 (0)