matthewshirley / pact_dart

Dart DSL for Pact, the de-facto API contract testing tool.
MIT License
19 stars 10 forks source link

Wrong naming for PactMatchers REGEXes #13

Closed VictorEnaud closed 1 year ago

VictorEnaud commented 1 year ago

In the file matchers.dart there is an inversion of UUID_REGEX and EMAIL_REGEX constants. As EMAIL_REGEX contains the uuid regex, and UUID_REGEX contains the email regex.

But email() and uuid() use the correct regex.

matthewshirley commented 1 year ago

Thank you for noticing! I was probably tired when committing that code. 😅

I will correct this shortly.