Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Jan 30, 2018
1 parent f9e7b8e commit 6da3816
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-get_path.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ test_that("use", {

testthat::expect_equal(
system.file("extdata", "anthus_nd2.fas", package = "babette"),
beautier::get_path("anthus_nd2.fas")
babette::get_path("anthus_nd2.fas")
)

testthat::expect_equal(
system.file("extdata", "anthus_aco.fas", package = "babette"),
beautier::get_path("anthus_aco.fas")
babette::get_path("anthus_aco.fas")
)

})

test_that("abuse", {

testthat::expect_error(
beautier::get_path("abs.ent"),
babette::get_path("abs.ent"),
"'filename' must be the name of a file in 'inst/extdata'"
)

Expand Down

0 comments on commit 6da3816

Please sign in to comment.