inst/tinytest/test_gh_issue_51.R

# small reproducible provided by Ralf Herold
expect_message(
  {
    message("catch_one")
    message("catch_two")
  },
  pattern = "two"
)

Try the tinytest package in your browser

Any scripts or data that you put into this service are public.

tinytest documentation built on March 7, 2023, 7:43 p.m.