diff --git a/inst/tests/tests.Rraw b/inst/tests/tests.Rraw index 59d362ddb..bd3319f80 100644 --- a/inst/tests/tests.Rraw +++ b/inst/tests/tests.Rraw @@ -9893,8 +9893,8 @@ if (nozlib()) { if (test_R.utils) test(1658.43, fread(f1), DT) # use fread to decompress gz (works cross-platform) fwrite(DT, file=f3<-tempfile(), compress="gzip") # compress to filename not ending .gz test(1658.441, file.info(f3)$size, file.info(f1)$size) + unlink(c(f1,f2,f3)) } -unlink(c(f1,f2,f3)) DT = data.table(a=1:3, b=list(1:4, c(3.14, 100e10), c("foo", "bar", "baz"))) test(1658.45, fwrite(DT), output=c("a,b","1,1|2|3|4","2,3.14|1e+12","3,foo|bar|baz")) DT[3,b:=as.raw(0:2)]