Skip to content

Commit 6b9ef6e

Browse files
direct test of as.data.frame change
1 parent 815b877 commit 6b9ef6e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

inst/tests/tests.Rraw

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21248,5 +21248,7 @@ test(2322.22, levels(fctr(c("b","a","c"), sort=NA)), error="TRUE or FALSE")
2124821248
test(2322.31, levels(fctr(c("b","a","c"), rev=TRUE, sort=TRUE)), c("c","b","a"))
2124921249

2125021250
# data.frame() uses provided names of ITime inputs
21251-
test(2323.1, names(data.frame(COL = as.ITime('00:00:00'))), "COL")
21252-
test(2323.2, names(data.frame(b = 1, COL = as.ITime('00:00:00'))), c("b", "COL"))
21251+
it <- as.ITime('00:00:00')
21252+
test(2323.1, names(data.frame(COL = it)), "COL")
21253+
test(2323.2, names(data.frame(b = 1, COL = it)), c("b", "COL"))
21254+
test(2323.3, names(as.data.frame(it, optional=TRUE)), NULL)

0 commit comments

Comments
 (0)