diff --git a/tests/testthat/_snaps/snapshot.md b/tests/testthat/_snaps/snapshot.md index 94adb58e6..defaf88d6 100644 --- a/tests/testthat/_snaps/snapshot.md +++ b/tests/testthat/_snaps/snapshot.md @@ -258,13 +258,13 @@ Code cat(snapshot_accept_hint("_default", "bar.R", reset_output = FALSE)) Output - * Run ]8;;ide:run:testthat::snapshot_accept('bar.R')testthat::snapshot_accept('bar.R')]8;; to accept the change. - * Run ]8;;ide:run:testthat::snapshot_review('bar.R')testthat::snapshot_review('bar.R')]8;; to interactively review the change. + * Run `testthat::snapshot_accept('bar.R')` to accept the change. + * Run `testthat::snapshot_review('bar.R')` to interactively review the change. Code cat(snapshot_accept_hint("foo", "bar.R", reset_output = FALSE)) Output - * Run ]8;;ide:run:testthat::snapshot_accept('foo/bar.R')testthat::snapshot_accept('foo/bar.R')]8;; to accept the change. - * Run ]8;;ide:run:testthat::snapshot_review('foo/bar.R')testthat::snapshot_review('foo/bar.R')]8;; to interactively review the change. + * Run `testthat::snapshot_accept('foo/bar.R')` to accept the change. + * Run `testthat::snapshot_review('foo/bar.R')` to interactively review the change. # expect_snapshot validates its inputs diff --git a/tests/testthat/test-snapshot.R b/tests/testthat/test-snapshot.R index baa418558..cb8aaeff9 100644 --- a/tests/testthat/test-snapshot.R +++ b/tests/testthat/test-snapshot.R @@ -166,8 +166,6 @@ test_that("errors and warnings are folded", { # }) test_that("hint is informative", { - local_reproducible_output(crayon = TRUE, hyperlinks = TRUE, rstudio = TRUE) - expect_snapshot({ cat(snapshot_accept_hint("_default", "bar.R", reset_output = FALSE)) cat(snapshot_accept_hint("foo", "bar.R", reset_output = FALSE))