Somewhat-related to https://github.com/stretchr/testify/issues/323, I'd like to be able to specify a regex (or a anonymous function callback) to verify "conformance" of the expected panic.
Differently to the issue above, I cannot work with the error outside require.Panics, since Testify swallows it.
Somewhat-related to https://github.com/stretchr/testify/issues/323, I'd like to be able to specify a regex (or a anonymous function callback) to verify "conformance" of the expected panic.
Differently to the issue above, I cannot work with the error outside
require.Panics
, since Testify swallows it.