Skip to content

Commit

Permalink
fix: adapt unit test to Windows OS
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed May 17, 2024
1 parent 8527d64 commit 44050a0
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 @@ -579,7 +579,7 @@ test_that("dataStorageBasePath,dataStorageBasePath<-,MsBackendMzR works", {
MsCoreUtils::common_path(sciex_file))
tmp <- sciex_mzr
dataStorageBasePath(tmp) <- tmpd
expect_equal(dataStorageBasePath(tmp), tmpd)
expect_equal(dataStorageBasePath(tmp), gsub("\\", "/", tmpd, fixed = TRUE))

#' errors
expect_error(dataStorageBasePath(tmp) <- "some path", "Provided path")
Expand Down

0 comments on commit 44050a0

Please sign in to comment.