Skip to content

Commit cea6da5

Browse files
committed
More muffling of download progress
1 parent 67d7470 commit cea6da5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testthat/test-use-course.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ test_that("tidy_download() works", {
3535
expect_identical(attr(out, "content-type"), "application/zip")
3636

3737
# refuse to overwrite when non-interactive
38-
expect_error(tidy_download(gh_url, destdir = tmp))
38+
expect_error(capture.output(
39+
tidy_download(gh_url, destdir = tmp)
40+
))
3941
})
4042

4143
## tidy_unzip ----

0 commit comments

Comments
 (0)