Skip to content

Commit 53f3e0a

Browse files
committed
update test case
1 parent 778f20b commit 53f3e0a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21078,7 +21078,5 @@ test(2307, { capture.output(print(DT, class = TRUE, show.indices = TRUE)); TRUE
2107821078

2107921079
# test for enhancing error message of invalid column #6512
2108021080
test(2308, {
21081-
msg <- tryCatch({ .Call("uniq_diff", as.integer(c(1, 2, -1, 4)), 4, FALSE); NULL }, error = function(e) e$message)
21082-
print(msg)
21083-
return(grepl("\\[-1\\]", msg))
21084-
}, TRUE)
21081+
melt(data.table(A = 1:5, B = 6:10), id.vars = c("A", "-1"))
21082+
}, error = "One or more values in 'id.vars' are invalid")

0 commit comments

Comments
 (0)