Skip to content

Commit

Permalink
Fixed code coverage reporting issue (reported less than tested)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryoda committed Mar 25, 2019
1 parent f219992 commit 11c142b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test_is_duplicated_log_entry.R
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_last_tryCatchLog_result.R
Original file line number Diff line number Diff line change
@@ -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)


Expand Down

0 comments on commit 11c142b

Please sign in to comment.