Skip to content

Commit f95c1c4

Browse files
committed
add test for TRUELENGTH=0 set
1 parent f65a8cc commit f95c1c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18709,4 +18709,6 @@ n = getOption("datatable.alloccol")
1870918709
DT = data.table()
1871018710
for (i in seq(10*n)) set(DT, j = paste0("V",i), value = i)
1871118711
test(2235.1, ncol(DT), 10L*n)
18712+
DT = structure(list(a = 1, b = 2), class = c("data.table", "data.frame"))
18713+
test(2235.2, set(DT, j="c", value=3), data.table(a=1, b=2, c=3))
1871218714
options(opt)

0 commit comments

Comments
 (0)