Skip to content

Commit

Permalink
update snapshots, fix typo (#225)
Browse files Browse the repository at this point in the history
closes #224
  • Loading branch information
danielinteractive authored Mar 6, 2024
1 parent 0aea21d commit dbe789e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/test-HermesData-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,10 @@ test_that("lapply works as expected with safe = TRUE argument when converting ex
expect_equal(dim(mae[[3]]), dim(result[[2]]))
})

test_that("lapply fails as expected with safe = FALSE arugment when converting experiments in an MAE to HermesData", {
test_that("lapply fails as expected with safe = FALSE argument when converting experiments in an MAE to HermesData", {
mae <- multi_assay_experiment
mae[[1]] <- rename(mae[[1]], assay = c(count = "counts"))
expect_error(lapply(mae, HermesData, safe = FALSE), "invalid class")
expect_error(lapply(mae, HermesData, safe = FALSE), "no 'counts' assay found", fixed = TRUE)
})

# isEmpty ----
Expand Down

0 comments on commit dbe789e

Please sign in to comment.