Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondben committed Aug 16, 2024
1 parent d98aee6 commit 370a864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_sync.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test_that("an ftp source works", {
source_url = "ftp://ftp.cdc.noaa.gov/Datasets/noaa.oisst.v2/")
temp_root <- tempdir()
cf <- bb_add(bb_config(local_file_root = temp_root), src)
expect_true(grepl("ftp.cdc.noaa.gov/Datasets/noaa.oisst.v2/$", bb_data_source_dir(cf)))
expect_true(grepl("ftp.cdc.noaa.gov/Datasets/noaa.oisst.v2", bb_data_source_dir(cf)))
res <- bb_sync(cf, confirm_downloads_larger_than = NULL, verbose = TRUE)
expect_equal(nrow(res$files[[1]]), 1)
})

0 comments on commit 370a864

Please sign in to comment.