Open
Description
While debugging some code I tried to call something like:
expect_warning(<insert expression here>, regexp = "apple|orange|lemon")
Expecting this to catch all the warnings that show up from the expression and contain one or more of the items, however instead e.g. for a warning that contains only apple, testthat will flag this twice when running through the tests because it doesn't find orange or lemon.
How would I fix this? Thanks.
Metadata
Metadata
Assignees
Labels
No labels