From b101ea9174b04e67c91dd638703e8416fc6c00f5 Mon Sep 17 00:00:00 2001 From: Sam Parmar <107635309+parmsam-pfizer@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:50:04 -0500 Subject: [PATCH] fix test to not include remove_log_object arg --- tests/testthat/test-parse.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-parse.R b/tests/testthat/test-parse.R index 528a4b1..df2d4fd 100644 --- a/tests/testthat/test-parse.R +++ b/tests/testthat/test-parse.R @@ -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,