Skip to content

Commit

Permalink
Remove empty TZ check.
Browse files Browse the repository at this point in the history
Fails if TZ is set (as always is on Solaris)
  • Loading branch information
hadley committed Feb 26, 2014
1 parent 1583003 commit c96af71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/tests/test-rbind.r
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ test_that("time zones are preserved", {

get_tz <- function(x) attr(as.POSIXlt(x), "tz")

tzs <- c("", "CET", "UTC")
tzs <- c("CET", "UTC")
for(tz in tzs) {
start <- data.frame(x = as.POSIXct(dstart, tz = tz))
end <- data.frame(x = as.POSIXct(dstop, tz = tz))
Expand Down

0 comments on commit c96af71

Please sign in to comment.