-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
Just a heads up that the next version of httpmock will require some small changes.
I see one error and a deprecation
error[E0615]: attempted to take value of method `query_params` on type `&HttpMockRequest`
--> libs/test-http-mocks/src/foo.rs:100:25
|
100 | req.query_params
| ^^^^^^^^^^^^ method, not a field
|
help: use parentheses to call the method
|
100 | req.query_params()
| ++
warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead
--> libs/test-http-mocks/src/bar.rs:80:29
|
80 | Self(self.0.matches(|req| {
| ^^^^^^^
Metadata
Metadata
Assignees
Labels
No labels