File: test-badge.R

package info (click to toggle)
r-cran-lifecycle 1.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 576 kB
  • sloc: sh: 15; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
test_that("badge doesn't change unexpected", {
  expect_snapshot(cat(badge("deprecated")))
  expect_snapshot(cat(badge("experimental")))
  expect_snapshot(cat(badge("unknown")), error = TRUE)
})