Skip to content

Commit 7539980

Browse files
committed
Add clarifying comment
1 parent 426dd73 commit 7539980

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/test-that.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ test_code <- function(test, code, env, reporter, skip_on_empty = TRUE) {
142142
handle_expectation <- function(e) {
143143
handled <<- TRUE
144144
register_expectation(e, 7)
145+
# Don't bubble up to any other handlers
145146
invokeRestart("continue_test")
146147
}
147148
handle_warning <- function(e) {

0 commit comments

Comments
 (0)