We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3676ce1 commit 545b67eCopy full SHA for 545b67e
tests/testthat/test-expect-condition.R
@@ -79,7 +79,7 @@ test_that("can capture Throwable conditions from rJava", {
79
test_that("capture correct trace_env (#1994)", {
80
# This should fail, not error
81
expect_failure(expect_error(stop("oops")) %>% expect_warning())
82
- expect_failure(expect_error(stop("oops")) |> expect_warning())
+ expect_failure(expect_warning(expect_error(stop("oops"))))
83
})
84
85
# expect_warning() ----------------------------------------------------------
0 commit comments