Skip to content

Commit

Permalink
test numbers to satisfy increasing after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdowle authored Jun 14, 2019
1 parent 4756088 commit f3109c0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions inst/tests/tests.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -14977,14 +14977,10 @@ DT = data.table(
test(2054, DT[order(C)[1:5], B, verbose=TRUE], c('b', 'b', 'c', 'c', 'a'),
output = 'order optimisation is on')


# rbindlist improved error message, #3638
DT = data.table(a = 1)
test(2055.1, rbindlist(list(DT,1)), error="Item 2 of input is not a data.frame, data.table or list")
test(2055.2, rbindlist(DT), error="Input is not a list")



DT = data.table(a=1)
test(2059.1, rbindlist(list(DT,1)), error="Item 2 of input is not a data.frame, data.table or list")
test(2059.2, rbindlist(DT), error="Input is data.table but should be a plain list of items to be stacked")


###################################
Expand Down

0 comments on commit f3109c0

Please sign in to comment.