Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mvankessel-EMC committed Nov 1, 2024
1 parent 977b92b commit df097e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-checkDependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test_that("minimal", {
testthat::skip_if(!R6::is.R6(repo))

expect_message(
checkDependencies(repo = repo),
suppressWarnings(checkDependencies(repo = repo)),
"All dependencies are approved."
)
unlink(repo$getPath(), recursive = TRUE)
Expand All @@ -31,7 +31,7 @@ test_that("parallel", {
testthat::skip_if(!R6::is.R6(repo))

expect_message(
checkDependencies(repo = repo, nThreads = 2),
suppressWarnings(checkDependencies(repo = repo, nThreads = 2)),
"All dependencies are approved."
)
unlink(repo$getPath(), recursive = TRUE)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-getFunCall.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test_that("minimal", {
fun <- funs[glueIdx][[1]]

df <- bind_rows(PaRe:::getFunCall(fun, defFuns))
expect_true(nrow(df) == 4)
expect_true(nrow(df) == 1)
expect_true(ncol(df) == 2)
unlink(repo$getPath(), recursive = TRUE)
})

0 comments on commit df097e2

Please sign in to comment.