Skip to content

Commit

Permalink
addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
meetagrawal09 committed Feb 22, 2024
1 parent 5826a98 commit 134cdb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base/workflow/tests/testthat/test.start_model_runs.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("`start_model_runs` throws a warning if run.txt not provided", {
withr::with_dir(tempdir(), {
test_that("`start_model_runs` throws a warning if runs.txt not provided", {
withr::with_tempdir({
PEcAn.logger::logger.setUseConsole(TRUE, FALSE)
on.exit(PEcAn.logger::logger.setUseConsole(TRUE, TRUE))
settings <- list(rundir = getwd())
Expand All @@ -8,7 +8,7 @@ test_that("`start_model_runs` throws a warning if run.txt not provided", {
})

test_that("`start_model_runs` throws a warning if runs.txt is empty", {
withr::with_dir(tempdir(), {
withr::with_tempdir({
PEcAn.logger::logger.setUseConsole(TRUE, FALSE)
on.exit(PEcAn.logger::logger.setUseConsole(TRUE, TRUE))
settings <- list(rundir = getwd())
Expand Down

0 comments on commit 134cdb4

Please sign in to comment.