Skip to content

Commit

Permalink
Update tests to match last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
seananderson committed Jan 17, 2024
1 parent 4b98bb9 commit e6bfa15
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/testthat/test-draft.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test_that("draft() works", {
verbose = TRUE,
testing = TRUE,
testing_affirm = FALSE),
paste0("New document not drafted, you decided to keep"))
paste0("New document not drafted"))

# ---------------------------------------------------------------------------
# Bad directory
Expand All @@ -34,13 +34,6 @@ test_that("draft() works", {
"be created there"))

# ---------------------------------------------------------------------------
# Delete all non-proj files
expect_message(csasdown::draft("resdoc-b",
verbose = TRUE,
testing = TRUE,
testing_affirm = TRUE),
"Deleted")

dir.create("test-folder")
setwd("test-folder")
unlink("make-report-here", recursive = TRUE, force = TRUE)
Expand Down

0 comments on commit e6bfa15

Please sign in to comment.