Skip to content

Commit 3e12c02

Browse files
Improve test relying on obscure test for duplicate verbose message
1 parent 159cc96 commit 3e12c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/tests/tests.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14917,7 +14917,7 @@ test(2037.1, foo(DT), output='Please remember to always setDT()')
1491714917
# no assignment was made to DT
1491814918
test(2037.2, names(DT), 'a')
1491914919
# _selrefok() verbose message was duplicated
14920-
test(2037.3, unname(table(unlist(strsplit(capture.output(foo(DT)), '\n|\\s+')))['ptr']), 1L)
14920+
test(2037.3, foo(DT), output="data.table internal attributes", notOutput="data.table internal attributes.*data.table internal attributes")
1492114921

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

0 commit comments

Comments
 (0)