Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed May 13, 2024
1 parent 6899acc commit 0a86a98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions R/pkgdown.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ local_envvar_pkgdown <- function(pkg, scope = parent.frame()) {
)
}

local_pkgdown_site <- function(path = NULL, clone = FALSE, meta = NULL, env = parent.frame()) {
check_string(path, allow_null = TRUE)
local_pkgdown_site <- function(path = NULL, meta = NULL, clone = FALSE, env = parent.frame()) {
check_bool(clone)

if (is.null(path)) {
Expand Down
7 changes: 0 additions & 7 deletions tests/testthat/_snaps/build-home-index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# math is handled

Code
build_home_index(file.path(pkg_dir, "home-old-skool"), quiet = FALSE)
Message
Writing `index.html`

# data_home_sidebar() works by default

Code
Expand Down

0 comments on commit 0a86a98

Please sign in to comment.