We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 629b564 commit 99779e0Copy full SHA for 99779e0
1 file changed
tests/testthat/test-read_importsealevels.R
@@ -19,7 +19,7 @@ mock_req_perform <- function(...) {
19
20
# Mock read.csv to return a predefined dataframe
21
mock_read_csv <- function(file, ...) {
22
- data.frame(year = c(2023, 2023), month = c(1, 2), msl = c(1.5, 1.6))
+ data.frame(date = c('2023-01-01', '2023-02-01'), year = c(2023, 2023), month = c(1, 2), msl = c(1.5, 1.6))
23
}
24
25
test_that("read_importsealevels writes and reads CSV correctly", {
0 commit comments