File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,7 @@ macro_rules! assert_json_include {
186
186
( actual: $actual: expr, expected: $expected: expr) => { {
187
187
let actual: serde_json:: Value = $actual;
188
188
let expected: serde_json:: Value = $expected;
189
- if let Err ( error) =
190
- $crate:: assert_json_no_panic( actual, expected, $crate:: Mode :: Lenient )
191
- {
189
+ if let Err ( error) = $crate:: assert_json_no_panic( actual, expected, $crate:: Mode :: Lenient ) {
192
190
panic!( "\n \n {}\n \n " , error) ;
193
191
}
194
192
} } ;
@@ -213,9 +211,7 @@ macro_rules! assert_json_eq {
213
211
( $lhs: expr, $rhs: expr) => { {
214
212
let actual: serde_json:: Value = $lhs;
215
213
let expected: serde_json:: Value = $rhs;
216
- if let Err ( error) =
217
- $crate:: assert_json_no_panic( actual, expected, $crate:: Mode :: Strict )
218
- {
214
+ if let Err ( error) = $crate:: assert_json_no_panic( actual, expected, $crate:: Mode :: Strict ) {
219
215
panic!( "\n \n {}\n \n " , error) ;
220
216
}
221
217
} } ;
You can’t perform that action at this time.
0 commit comments