Skip to content

Commit

Permalink
TST: Explicitly subset Rle instead of using lapply to fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
omsai committed Apr 8, 2018
1 parent ae7968b commit 6ad90f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ context("Utilities")
test_that("windowAnalysis returns list", {
result <- windowAnalysis(reads = tx, windowSize = 100)
expect_is(result, "list")
lapply(result, expect_is, "Rle")
expect_is(result[[1]], "Rle")
})

test_that("windowAnalysis returns correct Rle value", {
Expand Down

0 comments on commit 6ad90f6

Please sign in to comment.