Skip to content

Commit

Permalink
fix: adapt unit test to Windows paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Aug 21, 2024
1 parent 360810a commit e7f0cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_MsBackendMzR.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ test_that("saveObject,readObject,MsBackendMzR works", {
test_that(".mz_backend_mzr_update_storage_path works", {
x <- sciex_mzr
res <- .mz_backend_mzr_update_storage_path(x, "/new/path")
expect_true(all(grepl("^/new/path", res$dataStorage)))
expect_true(all(grepl("/new/path", res$dataStorage)))
expect_error(validObject(res), "not found")
})

Expand Down

0 comments on commit e7f0cd9

Please sign in to comment.