Skip to content

Commit 1694c99

Browse files
i guess these should all work (?)
1 parent 5383d55 commit 1694c99

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

inst/tests/tests.Rraw

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21381,8 +21381,11 @@ if (!inherits(tryCatch(sqrt_elt_sym(1), error=identity), "error")) {
2138121381
test(2329.07, DT[, lapply(.SD, sqrt_elt_sym)], data.table(a=1.0))
2138221382
test(2329.08, DT[, lapply(.SD, function(...) sqrt(...elt(1L)))], data.table(a=1.0))
2138321383
}
21384-
# edge case of weird, though technically valid, names
21385-
`.123` = ...123 = 'a'
21384+
# edge case of weird, though technically valid, names:
21385+
# _not_ '..N' style and distinct from '...'
21386+
`123` = `.123` = ..123 = ...123 = 'a'
2138621387
DT = data.table(a = 4L)
21387-
test(2329.09, DT[, ...123], DT) # _not_ '..N' style and distinct from '...'
21388-
test(2329.10, DT[, .....123], DT)
21388+
test(2329.09, DT[, ..123], DT)
21389+
test(2329.10, DT[, ...123], DT)
21390+
test(2329.11, DT[, ....123], DT)
21391+
test(2329.12, DT[, .....123], DT)

0 commit comments

Comments
 (0)