Skip to content

Commit

Permalink
Can't use test_that yet
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Mar 28, 2016
1 parent 91a2b7b commit 10a3a20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-dates.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
context("Dates")

test_that("dates respsect worksheet date sheeting", {
d1900 <- read_xls(test_path("dates-1900.xls"), col_names = FALSE)
d1904 <- read_xls(test_path("dates-1904.xls"), col_names = FALSE)
test_that("dates respsect worksheet date setting", {
d1900 <- read_xls("dates-1900.xls", col_names = FALSE)
d1904 <- read_xls("dates-1904.xls", col_names = FALSE)

expect_equal(d1900, d1904)
expect_equal(d1900$X1, ISOdate(2000, 01, 01, 0, tz = "UTC"))
Expand Down

0 comments on commit 10a3a20

Please sign in to comment.