Skip to content

Commit 31fb0ae

Browse files
Make the linter happy again
1 parent 95ce913 commit 31fb0ae

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/testthat/test-coverage.R

+11-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,17 @@ test_that("We can find all assertions", {
278278
assert_that(1+1 == 2)
279279
")
280280

281-
for (p in list(list("testthat", 4), list("unitizer", 1), list("rlang", 2), list("xpectr", 2), list("testit", 1), list("runit", 2), list("r", 2), list("assertthat", 1))) {
281+
pkgs_and_number_of_assertions <- list(
282+
list("testthat", 4),
283+
list("unitizer", 1),
284+
list("rlang", 2),
285+
list("xpectr", 2),
286+
list("testit", 1),
287+
list("runit", 2),
288+
list("r", 2),
289+
list("assertthat", 1)
290+
)
291+
for (p in pkgs_and_number_of_assertions) {
282292
pkg <- p[[1]]
283293
expected_assertions <- p[[2]]
284294

0 commit comments

Comments
 (0)