@@ -21143,11 +21143,8 @@ test(2314.1, any(grepl("<int>", tail(capture.output(print(dt, class = TRUE)), 2)
2114321143test(2314.2, !any(grepl("<int>", tail(capture.output(print(dt, class = TRUE, col.names = "top")), 2))), TRUE)
2114421144
2114521145# issue #6898, test that tzone behavior changes with ignore_tzone=TRUE
21146- tm1 = .POSIXct(1, "UTC")
21147- tms1 = list(.POSIXct(0), .POSIXct(2, "UTC"))
21148- test(2315.1, between(tm1, tms1[[1]], tms1[[2]]), error = "different tzone attributes")
21149- test(2315.2, between(tm1, tms1[[1]], tms1[[2]], ignore_tzone=TRUE))
21150- tm2 <- .POSIXct(1)
21151- tms2 = list(.POSIXct(0, "UTC"), .POSIXct(2, "UTC"))
21152- test(2315.3, between(tm2, tms2[[1]], tms2[[2]]), message = "mismatched tzone attributes")
21153- test(2315.4, between(tm2, tms2[[1]], tms2[[2]], ignore_tzone=TRUE))
21146+ tms = list(.POSIXct(1), .POSIXct(1, "UTC"))
21147+ test(2315.1, between(tms[[1]], tms[[1]], tms[[2]]), error = "different tzone attributes")
21148+ test(2315.2, between(tms[[1]], tms[[1]], tms[[2]], ignore_tzone=TRUE))
21149+ test(2315.3, between(tms[[1]], tms[[2]], tms[[2]]), message = "mismatched tzone attributes")
21150+ test(2315.4, between(tms[[1]], tms[[2]], tms[[2]], ignore_tzone=TRUE))
0 commit comments