Skip to content

Commit 2983ed9

Browse files
committed
Use pass() helper
1 parent aa6ddf2 commit 2983ed9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/expect-no-condition.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ expect_no_ <- function(
128128
return(fail(message, trace_env = trace_env))
129129
}
130130

131-
succeed()
132-
invisible(act$val)
131+
pass(act$val)
133132
}
134133

135134
indent_lines <- function(x) {

0 commit comments

Comments
 (0)