Skip to content

Commit 71bb8b1

Browse files
update error message in test
1 parent 6b9aa6c commit 71bb8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/tests/mergelist.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test(1.02, perhaps.data.table(list(a=1:2)))
3232
test(1.03, perhaps.data.table(list(a=1:2, b=1:2)))
3333
test(1.04, perhaps.data.table(list(1:2, 1:2)), FALSE)
3434

35-
test(2.01, fdistinct(list(x=c(1L,1:2), b=1:2), on="x", mult="last"), error="must be data.table type object")
35+
test(2.01, fdistinct(list(x=c(1L,1:2), b=1:2), on="x", mult="last"), error="must be data.table")
3636
test(2.02, fdistinct(data.table(x=c(1L,1:2)), on="z", mult="last"), error="must be character column names of")
3737
test(2.03, fdistinct(data.table(x=c(1L,1:2)), on="x", mult="last", cols=character()), error="must be non-zero length, non-NA, integer or character columns of")
3838
test(2.04, fdistinct(data.table(x=c(1L,1:2, y=1:3)), on="x", mult="last", copy=NA), error="must be TRUE or FALSE")

0 commit comments

Comments
 (0)