Skip to content

Commit

Permalink
#469 fix_assert_list_element: fix lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
bundfussr committed Oct 10, 2024
1 parent b91bcdb commit 36c31df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/testthat/test-assertions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,10 @@ test_that("assert_list_element Test 75: error if the elements do not fulfill the
element = "val",
condition = val %in% valid_vals,
valid_vals = c(0, 1),
message_text = "List element {.val val} must one of {.val {valid_vals}} in argument {.arg {arg_name}}.",
message_text = paste(
"List element {.val val} must one of {.val {valid_vals}} in argument",
"{.arg {arg_name}}."
),
arg_name = "input"
)
)
Expand Down

0 comments on commit 36c31df

Please sign in to comment.