Skip to content

Commit 545b67e

Browse files
committed
Don't use pipe
1 parent 3676ce1 commit 545b67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-expect-condition.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ test_that("can capture Throwable conditions from rJava", {
7979
test_that("capture correct trace_env (#1994)", {
8080
# This should fail, not error
8181
expect_failure(expect_error(stop("oops")) %>% expect_warning())
82-
expect_failure(expect_error(stop("oops")) |> expect_warning())
82+
expect_failure(expect_warning(expect_error(stop("oops"))))
8383
})
8484

8585
# expect_warning() ----------------------------------------------------------

0 commit comments

Comments
 (0)