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 39de8d1 commit d85c69dCopy full SHA for d85c69d
tests/testthat/test-expect-condition.R
@@ -93,7 +93,7 @@ test_that("capture correct trace_env (#1994)", {
93
expect_equal(status$n_failure, 1) # from expect_warning()
94
95
status <- capture_success_failure({
96
- stop("oops") %>% expect_error() %>% expect_warning()
+ stop("oops") |> expect_error() |> expect_warning()
97
})
98
expect_equal(status$n_success, 1) # from expect_error()
99
0 commit comments