Skip to content

Commit 3d915e5

Browse files
explicit typing
1 parent 9842cde commit 3d915e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

inst/tests/tests.Rraw

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21157,8 +21157,8 @@ DT[1L, i := 1000L]
2115721157
test(2315.2, tail(DT[order(i), i], 2L), c(1L, 1000L))
2115821158

2115921159
# issue #6898, test that tzone behavior changes with ignore_tzone=TRUE
21160-
tms = list(.POSIXct(1), .POSIXct(1, "UTC"))
21161-
test(2316.1, between(tms[[1]], tms[[1]], tms[[2]]), error = "different tzone attributes")
21162-
test(2316.2, between(tms[[1]], tms[[1]], tms[[2]], ignore_tzone=TRUE))
21163-
test(2316.3, between(tms[[1]], tms[[2]], tms[[2]]), message = "mismatched tzone attributes")
21164-
test(2316.4, between(tms[[1]], tms[[2]], tms[[2]], ignore_tzone=TRUE))
21160+
tms = list(.POSIXct(1), .POSIXct(1.0, "UTC"))
21161+
test(2316.1, between(tms[[1]], tms[[1L]], tms[[2L]]), error = "different tzone attributes")
21162+
test(2316.2, between(tms[[1]], tms[[1L]], tms[[2L]], ignore_tzone=TRUE))
21163+
test(2316.3, between(tms[[1]], tms[[2L]], tms[[2L]]), message = "mismatched tzone attributes")
21164+
test(2316.4, between(tms[[1]], tms[[2L]], tms[[2L]], ignore_tzone=TRUE))

0 commit comments

Comments
 (0)