Skip to content

Commit

Permalink
fix test to not include remove_log_object arg
Browse files Browse the repository at this point in the history
  • Loading branch information
parmsam-pfizer committed Aug 22, 2023
1 parent 3158aa3 commit b101ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ test_that("read_log_file will parse a logrx log file and create the necessary ob
filePath <- file.path(logDir, "log_out_parse")
expect_warning(expect_error(file(filePath, "r"), "cannot open the connection"))

axecute(scriptPath, log_name = "log_out_parse", log_path = logDir, remove_log_object = FALSE)
axecute(scriptPath, log_name = "log_out_parse", log_path = logDir)

# check that the log file can be parsed
parsedFile <- read_log_file(filePath)

''
expect_length(parsedFile, 9)
expect_named(
parsedFile,
Expand Down

0 comments on commit b101ea9

Please sign in to comment.