alexliesenfeld / httpmock

HTTP mocking library for Rust
https://httpmock.rs
MIT License
472 stars 43 forks source link

Fix imports from assert-json-diff crate #4

Closed korrat closed 4 years ago

korrat commented 4 years ago

It seems that the interface of said crate changed at some point. The imported types Actual, Comparison, and Expected do no longer exist in the crate and assert_json_no_panic is a private function now. Instead this patch uses the assertjson{eq, include}_no_panic functions that are now available in assert_json_diff.

It also updates the assert_json_diff dependency to version 1.0.3, which is the first version to provide said functions.

alexliesenfeld commented 4 years ago

Thanks for your PR! Just made a new release containing your patch (0.3.5).