pact-foundation / pact-reference

Reference implementations for the pact specifications
https://pact.io
MIT License
91 stars 46 forks source link

test(pact_matching): Test more cases for ContentType matcher #363

Closed tienvx closed 8 months ago

tienvx commented 8 months ago

I added pactffi_matches_string_value_using_content_type_matching_rule_test before, but it only test 2 cases but need a lot lines of code.

I found a shorter way to test, so I refactor + add more cases to it.