Skip to content

Commit

Permalink
Improve test relying on obscure test for duplicate verbose message
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Jan 1, 2025
1 parent 159cc96 commit 3e12c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/tests/tests.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -14917,7 +14917,7 @@ test(2037.1, foo(DT), output='Please remember to always setDT()')
# no assignment was made to DT
test(2037.2, names(DT), 'a')
# _selrefok() verbose message was duplicated
test(2037.3, unname(table(unlist(strsplit(capture.output(foo(DT)), '\n|\\s+')))['ptr']), 1L)
test(2037.3, foo(DT), output="data.table internal attributes", notOutput="data.table internal attributes.*data.table internal attributes")

# `between` invalid args, and verbose #3516
test(2038.01, between(1:5, 2, 4, incbounds=423), error="incbounds must be TRUE or FALSE")
Expand Down

0 comments on commit 3e12c02

Please sign in to comment.