Skip to content

Commit

Permalink
Remove Set timezone in tests (causes fail on Windows)
Browse files Browse the repository at this point in the history
Fix remote for testthat
  • Loading branch information
ellisvalentiner committed Oct 23, 2017
1 parent c7067f3 commit 925f9af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Remotes:
tidyverse/lubridate,
tidyverse/hms,
yihui/knitr,
lib/testthat
r-lib/testthat
VignetteBuilder: knitr
RoxygenNote: 6.0.1
1 change: 0 additions & 1 deletion tests/testthat/test_instances.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
library(lubridateExtras)
context("Instances")
Sys.setenv(TZ = "America/New_York")

test_that("yesterday", {
expect_equal(yesterday(), Sys.Date()-1)
Expand Down

0 comments on commit 925f9af

Please sign in to comment.