Skip to content

Commit

Permalink
Transform
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Nov 24, 2024
1 parent a051958 commit 75d39ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/auto-full-cycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
plan_release("next")
Message
> Pulling main.
Resetting main to 59ba519de8bead3755ecab98b404ea150c95ef25
Resetting main to sha
> Digesting messages from 3 commits.
v Found 1 NEWS-worthy entry.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-auto-full-cycle.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test_that("full cycle", {
## init release ----
withr::local_envvar("FLEDGE_TEST_NOGH" = "no-github-no-mocking-needed-yay")
withr::local_envvar("FLEDGE_DONT_BOTHER_CRAN_THIS_IS_A_TEST" = "yes-a-test")
expect_fledge_snapshot({
expect_fledge_snapshot(transform = function(x) gsub("[0-9a-f]{40}", "sha", x), {
plan_release("next")
})
expect_equal(gert::git_branch(), "cran-0.0.1")
Expand Down

0 comments on commit 75d39ef

Please sign in to comment.