Skip to content

Commit ab8ebbe

Browse files
more metadata testing
1 parent 9d7b3b3 commit ab8ebbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-nzchar_linter.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ test_that("multiple lints are generated correctly", {
6666
nchar(b) != 0
6767
}"),
6868
list(
69-
rex::rex('Instead of comparing strings to ""'),
70-
rex::rex("Instead of comparing nchar(x) to 0")
69+
list(rex::rex('Instead of comparing strings to ""'), line_number = 2L),
70+
list(rex::rex("Instead of comparing nchar(x) to 0"), line_number = 3L)
7171
),
7272
nzchar_linter()
7373
)

0 commit comments

Comments
 (0)