diff --git a/R/expect-self-test.R b/R/expect-self-test.R index 6ff00d5a4..0cd8dbbe7 100644 --- a/R/expect-self-test.R +++ b/R/expect-self-test.R @@ -19,7 +19,7 @@ new_capture("expectation_success") #' Tools for testing expectations #' #' @description -#' * `expect_sucess()` and `expect_failure()` check that there's at least +#' * `expect_success()` and `expect_failure()` check that there's at least #' one success or failure respectively. #' * `expect_snapshot_failure()` records the failure message so that you can #' manually check that it is informative. diff --git a/man/expect_success.Rd b/man/expect_success.Rd index b533e0239..a917e28e1 100644 --- a/man/expect_success.Rd +++ b/man/expect_success.Rd @@ -30,7 +30,7 @@ show_failure(expr) } \description{ \itemize{ -\item \code{expect_sucess()} and \code{expect_failure()} check that there's at least +\item \code{expect_success()} and \code{expect_failure()} check that there's at least one success or failure respectively. \item \code{expect_snapshot_failure()} records the failure message so that you can manually check that it is informative.