Skip to content

Commit

Permalink
Align argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 5, 2024
1 parent 2d0b17b commit 3676ce1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/expect-self-test.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ expect_failure <- function(expr, message = NULL, ...) {

#' @export
#' @rdname expect_success
expect_snapshot_failure <- function(x) {
expect_snapshot_error(x, "expectation_failure")
expect_snapshot_failure <- function(expr) {
expect_snapshot_error(expr, "expectation_failure")
}

#' @export
Expand Down
2 changes: 1 addition & 1 deletion man/expect_success.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3676ce1

Please sign in to comment.