Skip to content

Adapt tests to testthat v3.3.0#554

Merged
fweber144 merged 2 commits intostan-dev:masterfrom
fweber144:testthat_v3.3.0
Jan 9, 2026
Merged

Adapt tests to testthat v3.3.0#554
fweber144 merged 2 commits intostan-dev:masterfrom
fweber144:testthat_v3.3.0

Conversation

@fweber144
Copy link
Collaborator

This adapts the names of snapshot files saved via vdiffr::expect_doppelganger() to a change in testthat v3.3.0: From that version on, testthat::expect_snapshot_file() (upon which vdiffr::expect_doppelganger() builds) errors if the snapshot file name has already been used (see the testthat changelog).

…ger()` whenever

the file name is not fixed but depends on some object (just to be safe for the
future)
@fweber144 fweber144 merged commit e7f2158 into stan-dev:master Jan 9, 2026
0 of 5 checks passed
@fweber144 fweber144 deleted the testthat_v3.3.0 branch January 9, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant