Skip to content

Commit

Permalink
Fix Windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
jwokaty committed Aug 7, 2024
1 parent 2130b29 commit 510522d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-bedbaser.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ test_that("bb_to_granges returns a GRanges object given a bigBed file", {
gro <- bb_to_granges(api, ex_bed$id, "bigbed")
expect_equal("GRanges", class(gro)[1])
} else {
expect_message("This feature does not work on Windows.")
expect_warning(rlang::warn("This feature does not work on Windows."),
bb_to_granges(api, ex_bed$id, "bigbed"))
}
})

Expand Down

0 comments on commit 510522d

Please sign in to comment.