Skip to content

Commit 4c4150a

Browse files
1 parent c1ba69e commit 4c4150a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21129,3 +21129,8 @@ test(2311.2, nlevels(DT$V1), 2L) # used to be 3
2112921129
# avoid translateChar*() in OpenMP threads, #6883
2113021130
DF = list(rep(iconv("\uf8", from = "UTF-8", to = "latin1"), 2e6))
2113121131
test(2312, fwrite(DF, nullfile(), encoding = "UTF-8", nThread = 2L), NULL)
21132+
21133+
# avoid memcpy of 0-length inputs
21134+
test(2313,
21135+
melt(data.table(a=numeric(), b=numeric(), c=numeric()), id.vars=c('a', 'b')),
21136+
data.table(a=numeric(), b=numeric(), variable=factor(levels='c'), value=numeric()))

0 commit comments

Comments
 (0)