Skip to content

Commit

Permalink
remove duplicated unit test for assayname
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Eagles <nickeagles77@gmail.com>
  • Loading branch information
HediaTnani and Nick-Eagles committed Jan 16, 2024
1 parent 8bfd64f commit 60b878c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/testthat/test-getPCs.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ test_that("output is a prcomp", {
expect_equal(class(getPCs(covComb_tx_deg, "tpm")), "prcomp")
})

test_that("check for assayname break", {
expect_error(getPCs(covComb_tx_deg, "NA"))
})

# Test for assayname not in assayNames
test_that("getPCs throws an error when assayname is not in assayNames", {
expect_error(getPCs(covComb_tx_deg, assayname = "not_in_assayNames"), "'not_in_assayNames' is not in assayNames\\(rse_tx\\).")
Expand Down

0 comments on commit 60b878c

Please sign in to comment.