Skip to content

Commit

Permalink
fix: use normalizePath also for tempdir()
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed May 17, 2024
1 parent 05f5e8b commit 6bafa7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test_MsBackendMzR.R
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ test_that("backendParallelFactor,MsBackendMzR", {
})

test_that("dataStorageBasePath,dataStorageBasePath<-,MsBackendMzR works", {
tmpd <- tempdir()
tmpd <- normalizePath(tempdir())
file.copy(sciex_file, tmpd)

expect_equal(dataStorageBasePath(sciex_mzr),
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_Spectra.R
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ test_that("entropy,Spectra works", {
})

test_that("dataStorageBasePath,dataStorageBasePath<-,MsBackendMzR works", {
tmpd <- tempdir()
tmpd <- normalizePath(tempdir())
file.copy(sciex_file, tmpd)

tmp <- Spectra(sciex_mzr)
Expand Down

0 comments on commit 6bafa7d

Please sign in to comment.