diff --git a/tests/testthat/test-linter_tags.R b/tests/testthat/test-linter_tags.R index 2d7f53810..92ee49f80 100644 --- a/tests/testthat/test-linter_tags.R +++ b/tests/testthat/test-linter_tags.R @@ -234,3 +234,7 @@ test_that("available_linters gives precedence to included tags", { available_linters(tags = "deprecated", exclude_tags = NULL) ) }) + +test_that("all linters have at least one tag", { + expect_true(all(lengths(available_linters()$tags) > 0L)) +})