diff --git a/crates/metadata/src/tests.rs b/crates/metadata/src/tests.rs index 60857877529..c539ffc377b 100644 --- a/crates/metadata/src/tests.rs +++ b/crates/metadata/src/tests.rs @@ -122,7 +122,7 @@ fn spec_contract_json() { let mut registry = Registry::new(); // when - let json = serde_json::to_value(&contract.into_portable(&mut registry)).unwrap(); + let json = serde_json::to_value(contract.into_portable(&mut registry)).unwrap(); // then assert_eq!(