Skip to content

Commit c9e4295

Browse files
committed
Fix value of randomized to match new seed
1 parent a41c78d commit c9e4295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-ggplot-date.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ test_that("scale_x_date and irregular time series work", {
4242
info_w_scale <- gg2list(g)
4343

4444
expect_equal(length(info$data), 1) # one trace
45-
expect_identical(info$data[[1]]$x[31], "2122-02-09 00:00:00")
45+
expect_identical(info$data[[1]]$x[31], "2122-02-06 00:00:00")
4646
expect_equal(length(info_w_scale$data), 1) # one trace
47-
expect_identical(info_w_scale$data[[1]]$x[31], "2122-02-09 00:00:00")
47+
expect_identical(info_w_scale$data[[1]]$x[31], "2122-02-06 00:00:00")
4848
expect_identical(info$layout$xaxis$type, "date")
4949
expect_identical(info_w_scale$layout$xaxis$type, "date")
5050
expect_equal(length(info_w_scale$layout), length(info$layout)) # similar layout

0 commit comments

Comments
 (0)