LukeMathWalker / wiremock-rs

HTTP mocking to test Rust applications.
Apache License 2.0
620 stars 70 forks source link

Mock: Unclear docs #42

Closed MarcoIeni closed 3 years ago

MarcoIeni commented 3 years ago

What is self.matches?

https://github.com/LukeMathWalker/wiremock-rs/blob/16980ac6fbe73fc76a3741315edf096789a73c7e/src/mock.rs#L215

LukeMathWalker commented 3 years ago

It was from before the introduction of ActiveMock - it refers to ActiveMock::matches now: https://github.com/LukeMathWalker/wiremock-rs/blob/16980ac6fbe73fc76a3741315edf096789a73c7e/src/active_mock.rs#L23