Skip to content

Commit 156f4ff

Browse files
committed
update tests
1 parent 6f8020f commit 156f4ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21903,9 +21903,9 @@ DT = unserialize(serialize(as.data.table(mtcars), NULL))
2190321903
test(2351.2, set(DT, j="carb", value=NULL), as.data.table(mtcars)[,carb:=NULL])
2190421904
DT = unserialize(serialize(as.data.table(mtcars), NULL))
2190521905
null_in_value <- NULL
21906-
test(2351.3, "cyl" %notin% names(DT[, cyl := null_in_value]), FALSE)
21906+
test(2351.3, "cyl" %notin% names(DT[, cyl := null_in_value]))
2190721907
DT = unserialize(serialize(as.data.table(mtcars), NULL))
21908-
test(2351.4, ncol(DT[, c("cyl", "mpg") := .(null_in_value, null_in_value)]), ncol(mtcars) - 2)
21908+
test(2351.4, ncol(DT[, c("cyl", "mpg") := .(null_in_value, null_in_value)]), ncol(mtcars) - 2L)
2190921909
rm(DT)
2191021910

2191121911
# rbindlist did not protect the temporary UTF-8 strings, #7452

0 commit comments

Comments
 (0)