# NOT RUN {
expect_that_combine_all_args(
sum(1, 2, 3),
testthat::equals(6)
)
# }
# NOT RUN {
expect_that_combine_all_args(stop("a", "b"), testthat::throws_error())
expect_that_combine_all_args(sum(1, 2), testthat::equals(3))
expect_that_combine_first_arg(sum(c(1, 2)), testthat::equals(3))
# }
Run the code above in your browser using DataLab