File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 258258 Code
259259 cat(snapshot_accept_hint("_default", "bar.R", reset_output = FALSE))
260260 Output
261- * Run ]8;;ide:run: testthat::snapshot_accept('bar.R')testthat::snapshot_accept('bar.R')]8;; to accept the change.
262- * Run ]8;;ide:run: testthat::snapshot_review('bar.R')testthat::snapshot_review('bar.R')]8;; to interactively review the change.
261+ * Run ` testthat::snapshot_accept('bar.R')` to accept the change.
262+ * Run ` testthat::snapshot_review('bar.R')` to interactively review the change.
263263 Code
264264 cat(snapshot_accept_hint("foo", "bar.R", reset_output = FALSE))
265265 Output
266- * Run ]8;;ide:run: testthat::snapshot_accept('foo/bar.R')testthat::snapshot_accept('foo/bar.R')]8;; to accept the change.
267- * Run ]8;;ide:run: testthat::snapshot_review('foo/bar.R')testthat::snapshot_review('foo/bar.R')]8;; to interactively review the change.
266+ * Run ` testthat::snapshot_accept('foo/bar.R')` to accept the change.
267+ * Run ` testthat::snapshot_review('foo/bar.R')` to interactively review the change.
268268
269269# expect_snapshot validates its inputs
270270
Original file line number Diff line number Diff line change @@ -166,8 +166,6 @@ test_that("errors and warnings are folded", {
166166# })
167167
168168test_that(" hint is informative" , {
169- local_reproducible_output(crayon = TRUE , hyperlinks = TRUE , rstudio = TRUE )
170-
171169 expect_snapshot({
172170 cat(snapshot_accept_hint(" _default" , " bar.R" , reset_output = FALSE ))
173171 cat(snapshot_accept_hint(" foo" , " bar.R" , reset_output = FALSE ))
You can’t perform that action at this time.
0 commit comments