diff --git a/tests/testthat/test_is_duplicated_log_entry.R b/tests/testthat/test_is_duplicated_log_entry.R index 0fd0f6f..a3494ea 100644 --- a/tests/testthat/test_is_duplicated_log_entry.R +++ b/tests/testthat/test_is_duplicated_log_entry.R @@ -1,5 +1,5 @@ library(testthat) -library(tryCatchLog) +# library(tryCatchLog) # do NOT load the library otherwise the test coverage is reported wrongly (not counted) context("test_is_duplicated_log_entry.R") diff --git a/tests/testthat/test_last_tryCatchLog_result.R b/tests/testthat/test_last_tryCatchLog_result.R index 44db61f..2ca4356 100644 --- a/tests/testthat/test_last_tryCatchLog_result.R +++ b/tests/testthat/test_last_tryCatchLog_result.R @@ -1,4 +1,4 @@ -library(tryCatchLog) # was commented out. Why? +# library(tryCatchLog) # is commented out. Why? Because the code coverage would not count correctly library(testthat)