Skip to content

Commit 3676ce1

Browse files
committed
Align argument name
1 parent 2d0b17b commit 3676ce1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/expect-self-test.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ expect_failure <- function(expr, message = NULL, ...) {
7474

7575
#' @export
7676
#' @rdname expect_success
77-
expect_snapshot_failure <- function(x) {
78-
expect_snapshot_error(x, "expectation_failure")
77+
expect_snapshot_failure <- function(expr) {
78+
expect_snapshot_error(expr, "expectation_failure")
7979
}
8080

8181
#' @export

man/expect_success.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)