Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
arnfinn committed Dec 11, 2024
1 parent eaf2d19 commit 8429103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-miscellaneous-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ file.copy(

# produce a pop-up text...
test_that("an html doc regarding 'how we deal with...' can be provided", {
expect_output(howWeDealWithPersonalData(session = list()), "")
expect_silent(howWeDealWithPersonalData(session = list()))
})

test_that("pop-up html can add an installed pacakge to info", {
expect_output(howWeDealWithPersonalData(
expect_silent(howWeDealWithPersonalData(
session = list(),
callerPkg = "base"
), "")
))
})

test_that("pop-up html provide a warning for a non-existing pacakge", {
Expand Down

0 comments on commit 8429103

Please sign in to comment.