snitch-org / snitch

Lightweight C++20 testing framework.
Boost Software License 1.0
268 stars 10 forks source link

Simplify is_match's early exit condition #65

Closed tocic closed 1 year ago

cschreib commented 1 year ago

Yep, that's correct. Thank you. I'm actually wondering if we should simply remove this if entirely, otherwise there is no way with is_match() to match only empty strings... Whether that's useful, I don't know :shrug: Let's see if it comes up later.