willowtreeapps / assertk

assertions for kotlin inspired by assertj
MIT License
760 stars 85 forks source link

Add 'containsMatch' assertion for CharSequence #457

Closed JakeWharton closed 1 year ago

JakeWharton commented 1 year ago

Unlike 'contains' this is a regex rather than a literal. Unlike 'matches' this looks for a subset of the charsequence to match rather than the entire contents.

Closes #452