Skip to content

Commit 57a9e2f

Browse files
committed
Delete noisy, low-value test
I can't really tell what this is testing and it's emitting messages. Not worth fixing, since I'm not using snapshot tests here yet.
1 parent 4e15ab9 commit 57a9e2f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/testthat/test-badge.R

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,3 @@ test_that("use_badge() does nothing if badge seems to pre-exist", {
2828
writeLines(href, proj_path("README.md"))
2929
expect_false(use_badge("foo", href, "SRC"))
3030
})
31-
32-
test_that("default readme has placeholders / can add to empty badge block", {
33-
create_local_package()
34-
withr::local_options(list(usethis.quiet = FALSE, crayon.enabled = FALSE))
35-
36-
expect_message(use_readme_md())
37-
expect_message(use_cran_badge(), "Adding CRAN status badge")
38-
expect_silent(use_cran_badge())
39-
})

0 commit comments

Comments
 (0)